Skip to content

Commit 3b05769

Browse files
committed
update test
1 parent 9d05e46 commit 3b05769

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/abstractmcmc.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ using Statistics: mean
2626

2727
θ = AbstractMCMC.getparams(s)
2828
@test θ == t.z.θ
29-
@test AbstractMCMC.setparams!!(s, θ) == s
29+
@test AbstractMCMC.setparams!!(model, s, θ) == s
3030

3131
new_θ = randn(rng, 2)
32-
new_state = AbstractMCMC.setparams!!(s, new_θ)
32+
new_state = AbstractMCMC.setparams!!(model, s, new_θ)
3333
@test AbstractMCMC.getparams(new_state) == new_θ
3434
end
3535

0 commit comments

Comments
 (0)