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 9d05e46 commit 3b05769Copy full SHA for 3b05769
test/abstractmcmc.jl
@@ -26,10 +26,10 @@ using Statistics: mean
26
27
θ = AbstractMCMC.getparams(s)
28
@test θ == t.z.θ
29
- @test AbstractMCMC.setparams!!(s, θ) == s
+ @test AbstractMCMC.setparams!!(model, s, θ) == s
30
31
new_θ = randn(rng, 2)
32
- new_state = AbstractMCMC.setparams!!(s, new_θ)
+ new_state = AbstractMCMC.setparams!!(model, s, new_θ)
33
@test AbstractMCMC.getparams(new_state) == new_θ
34
end
35
0 commit comments