-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ChangesOfVariables and InverseFunctions (#212)
* Add ChangesOfVariables and InverseFunctions to deps * Replace forward by with_logabsdet_jacobian * Replace Base.inv with InverseFunctions.inverse * Improve deprecation scheme for forward Co-authored-by: David Widmann <[email protected]> * Improve deprecation scheme for inv * Test forward and inv deprecations * Apply suggestions from code review Co-authored-by: David Widmann <[email protected]> * Fixes regarding with_logabsdet_jacobian and inverse * Fix with_logabsdet_jacobian for NamedComposition * Fix deprecation of inv * Use inverse instead of inv for Composed * Use with_logabsdet_jacobian instead of forward * Workaround for intermittent failures in Dirichlet test * Use with_logabsdet_jacobian instead of forward * Use with_logabsdet_jacobian instead of forward * Add rrules for combine with PartitionMask Zygote-generated pullback for `combine(m::PartitionMask, x_1, x_2, x_3)` fails with `no method matching zero(::Type{Nothing})`. * Use inv instead of inverse for numbers * Apply suggestions from code review Co-authored-by: David Widmann <[email protected]> * Whitespace fix. Co-authored-by: David Widmann <[email protected]> * Move combine rrule and add test * Apply suggestions from code review Co-authored-by: David Widmann <[email protected]> * Use @test_deprecated Co-authored-by: David Widmann <[email protected]> * Use @test_deprecated Co-authored-by: David Widmann <[email protected]> * Use inverse instead of inv * Use test_inverse and test_with_logabsdet_jacobian * Use inverse instead of inv * Increase version number to v0.9.12 * Reexport with_logabsdet_jacobian and inverse * Increase package version to v0.10.0 Co-authored-by: David Widmann <[email protected]>
- Loading branch information
Showing
33 changed files
with
444 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
b204712
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
b204712
There was a problem hiding this comment.
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/50639
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: