Skip to content

Commit

Permalink
Allow Setfield 0.8 (#338)
Browse files Browse the repository at this point in the history
We get some pretty nice performance improvements when using Setfield 0.8:

![image](https://user-images.githubusercontent.com/11074788/140616974-995d6955-668d-44cb-b81b-2f544d3a6eb8.png)

Ref: TuringLang/AbstractPPL.jl#28
  • Loading branch information
torfjelde committed Nov 6, 2021
1 parent 545d365 commit 7563811
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 = "DynamicPPL"
uuid = "366bfd00-2699-11ea-058f-f148b4cae6d8"
version = "0.16.1"
version = "0.16.2"

[deps]
AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
Expand All @@ -24,6 +24,6 @@ Bijectors = "0.5.2, 0.6, 0.7, 0.8, 0.9"
ChainRulesCore = "0.9.7, 0.10, 1"
Distributions = "0.23.8, 0.24, 0.25"
MacroTools = "0.5.6"
Setfield = "0.7.1"
Setfield = "0.7.1, 0.8"
ZygoteRules = "0.2"
julia = "1.3"
2 changes: 1 addition & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Documenter = "0.26.1, 0.27"
ForwardDiff = "0.10.12"
MCMCChains = "4.0.4, 5"
MacroTools = "0.5.5"
Setfield = "0.7.1"
Setfield = "0.7.1, 0.8"
StableRNGs = "1"
Tracker = "0.2.11"
Zygote = "0.5.4, 0.6"
Expand Down

2 comments on commit 7563811

@torfjelde
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/48317

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.16.2 -m "<description of version>" 7563811730faa9b5f4949bb3b5af05a85f2f8dc4
git push origin v0.16.2

Please sign in to comment.