Skip to content

Commit 04404b3

Browse files
committed
fixed please
1 parent ebead0d commit 04404b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/model.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ const GDEMO_DEFAULT = DynamicPPL.TestUtils.demo_assume_observe_literal()
591591
xs_train = 1:0.1:10
592592
ys_train = ground_truth_β .* xs_train + rand(Normal(0, 0.1), length(xs_train))
593593
m_lin_reg = linear_reg(xs_train, ys_train)
594-
chain = [last(sample!!(m_lin_reg, VarInfo())) for _ in 1:10000]
594+
chain = [last(DynamicPPL.sample!!(m_lin_reg, VarInfo())) for _ in 1:10000]
595595

596596
# chain is generated from the prior
597597
@test mean([chain[i][@varname(β)] for i in eachindex(chain)]) 1.0 atol = 0.1

0 commit comments

Comments
 (0)