We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79fb999 commit 3951d1dCopy full SHA for 3951d1d
test/contexts.jl
@@ -148,7 +148,7 @@ Base.IteratorEltype(::Type{<:AbstractContext}) = Base.EltypeUnknown()
148
vn = @varname(x[1])
149
ctx1 = PrefixContext(@varname(a))
150
@test DynamicPPL.prefix(ctx1, vn) == @varname(a.x[1])
151
- ctx2 = ConditionContext(Dict(), ctx1)
+ ctx2 = ConditionContext(Dict{VarName,Any}(), ctx1)
152
@test DynamicPPL.prefix(ctx2, vn) == @varname(a.x[1])
153
ctx3 = PrefixContext(@varname(b), ctx2)
154
@test DynamicPPL.prefix(ctx3, vn) == @varname(b.a.x[1])
0 commit comments