Skip to content

Commit c2a8e63

Browse files
committed
Fix nested context test
1 parent 6aace7d commit c2a8e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/contexts.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Base.IteratorEltype(::Type{<:AbstractContext}) = Base.EltypeUnknown()
154154
@test DynamicPPL.prefix(ctx2, vn) == @varname(a.x[1])
155155
ctx3 = PrefixContext(@varname(b), ctx2)
156156
@test DynamicPPL.prefix(ctx3, vn) == @varname(b.a.x[1])
157-
ctx4 = DynamicPPL.ValuesAsInModelContext(OrderedDict(), false, ctx3)
157+
ctx4 = DynamicPPL.SamplingContext(ctx3)
158158
@test DynamicPPL.prefix(ctx4, vn) == @varname(b.a.x[1])
159159
end
160160

0 commit comments

Comments
 (0)