Skip to content

Commit

Permalink
Fix _wishart_genA! (#207)
Browse files Browse the repository at this point in the history
* Fix `_wishart_genA!`

* Update Project.toml
  • Loading branch information
devmotion authored Nov 25, 2021
1 parent 2ef6790 commit 0cbe98f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "DistributionsAD"
uuid = "ced4e74d-a319-5a8a-b0ac-84af2272839c"
version = "0.6.32"
version = "0.6.33"

[deps]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Expand All @@ -27,7 +27,7 @@ ChainRules = "1"
ChainRulesCore = "1"
Compat = "3.6"
DiffRules = "0.1, 1.0"
Distributions = "0.25.15"
Distributions = "0.25.32"
FillArrays = "0.8, 0.9, 0.10, 0.11, 0.12"
NaNMath = "0.3"
PDMats = "0.9, 0.10, 0.11"
Expand Down
2 changes: 1 addition & 1 deletion src/matrixvariate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ end

#### Sampling
function Distributions._rand!(rng::AbstractRNG, d::TuringWishart, A::AbstractMatrix)
Distributions._wishart_genA!(rng, Distributions.dim(d), d.df, A)
Distributions._wishart_genA!(rng, A, d.df)
unwhiten!(d.chol, A)
A .= A * A'
end
Expand Down

2 comments on commit 0cbe98f

@devmotion
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/49385

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.6.33 -m "<description of version>" 0cbe98f879e502affef9583668a71abfbbfcafdb
git push origin v0.6.33

Please sign in to comment.