Skip to content

Commit bfd013b

Browse files
committed
fix
1 parent e3ded5c commit bfd013b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/model.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@ const GDEMO_DEFAULT = DynamicPPL.TestUtils.demo_assume_observe_literal()
162162
for i in 1:10
163163
Random.seed!(100 + i)
164164
vi = VarInfo()
165-
model(Random.default_rng(), vi, sampler)
165+
DynamicPPL.sample!!(Random.default_rng(), model, vi, sampler)
166166
vals = vi[:]
167167

168168
Random.seed!(100 + i)
169169
vi = VarInfo()
170-
model(Random.default_rng(), vi, sampler)
170+
DynamicPPL.sample!!(Random.default_rng(), model, vi, sampler)
171171
@test vi[:] == vals
172172
end
173173
end

0 commit comments

Comments
 (0)