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 07946a7 commit afdb173Copy full SHA for afdb173
test/compiler.jl
@@ -193,6 +193,9 @@ module Issue537 end
193
varinfo = VarInfo(model)
194
@test getlogjoint(varinfo) == lp
195
@test varinfo_ isa AbstractVarInfo
196
+ # During the model evaluation, its leaf context is changed to an InitContext, so
197
+ # `model_` is not going to be equal to `model`. We can still check equality of `f`
198
+ # though.
199
@test model_.f === model.f
200
@test model_.context isa DynamicPPL.InitContext
201
@test model_.context.rng isa Random.AbstractRNG
0 commit comments