Skip to content

Commit

Permalink
Replace PDBijector with PDVecBijector in DistributionsAD extens…
Browse files Browse the repository at this point in the history
…ion (#277)

* default to `PDVecBijector`

* Update Project.toml

---------

Co-authored-by: Hong Ge <[email protected]>
  • Loading branch information
harisorgn and yebai authored Jul 15, 2023
1 parent 253a8ba commit 9cd5907
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Bijectors"
uuid = "76274a88-744f-5084-9051-94815aaf08c4"
version = "0.13.1"
version = "0.13.2"

[deps]
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"
Expand Down
4 changes: 2 additions & 2 deletions ext/BijectorsDistributionsADExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ end
# Bijectors

Bijectors.bijector(::TuringDirichlet) = Bijectors.SimplexBijector()
Bijectors.bijector(::TuringWishart) = Bijectors.PDBijector()
Bijectors.bijector(::TuringInverseWishart) = Bijectors.PDBijector()
Bijectors.bijector(::TuringWishart) = Bijectors.PDVecBijector()
Bijectors.bijector(::TuringInverseWishart) = Bijectors.PDVecBijector()
Bijectors.bijector(::TuringScalMvNormal) = identity
Bijectors.bijector(::TuringDiagMvNormal) = identity
Bijectors.bijector(::TuringDenseMvNormal) = identity
Expand Down

2 comments on commit 9cd5907

@yebai
Copy link
Member

@yebai yebai commented on 9cd5907 Jul 15, 2023

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/87552

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.13.2 -m "<description of version>" 9cd59070871cc7a29df0e401a24a08502241b230
git push origin v0.13.2

Please sign in to comment.