From 7563811730faa9b5f4949bb3b5af05a85f2f8dc4 Mon Sep 17 00:00:00 2001 From: Tor Erlend Fjelde Date: Sat, 6 Nov 2021 21:13:17 +0000 Subject: [PATCH] Allow Setfield 0.8 (#338) 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: https://github.com/TuringLang/AbstractPPL.jl/issues/28 --- Project.toml | 4 ++-- test/Project.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index c833c51c1..20985b109 100644 --- a/Project.toml +++ b/Project.toml @@ -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" @@ -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" diff --git a/test/Project.toml b/test/Project.toml index 3af6ef22d..6c0dc994c 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -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"