We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 161efff commit 933efe5Copy full SHA for 933efe5
test/abstractmcmc.jl
@@ -27,6 +27,10 @@ using Statistics: mean
27
θ = AbstractMCMC.getparams(s)
28
@test θ == t.z.θ
29
@test AbstractMCMC.setparams!!(s, θ) == s
30
+
31
+ new_θ = randn(rng, 2)
32
+ new_state = AbstractMCMC.setparams!!(s, new_θ)
33
+ @test AbstractMCMC.getparams(new_state) == new_θ
34
end
35
36
samples_nuts = AbstractMCMC.sample(
0 commit comments