Skip to content

Commit 3951d1d

Browse files
committed
another fix
1 parent 79fb999 commit 3951d1d

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
@@ -148,7 +148,7 @@ Base.IteratorEltype(::Type{<:AbstractContext}) = Base.EltypeUnknown()
148148
vn = @varname(x[1])
149149
ctx1 = PrefixContext(@varname(a))
150150
@test DynamicPPL.prefix(ctx1, vn) == @varname(a.x[1])
151-
ctx2 = ConditionContext(Dict(), ctx1)
151+
ctx2 = ConditionContext(Dict{VarName,Any}(), ctx1)
152152
@test DynamicPPL.prefix(ctx2, vn) == @varname(a.x[1])
153153
ctx3 = PrefixContext(@varname(b), ctx2)
154154
@test DynamicPPL.prefix(ctx3, vn) == @varname(b.a.x[1])

0 commit comments

Comments
 (0)