File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 6666 varinfo = DynamicPPL. Experimental. determine_suitable_varinfo (model)
6767 # They should all result in typed.
6868 @test varinfo isa DynamicPPL. TypedVarInfo
69- # But let's also make sure that they're not lying.
69+ # But let's also make sure that they're not lying by checking the
70+ # type inference with a typed varinfo.
7071 f_eval, argtypes_eval = DynamicPPL. DebugUtils. gen_evaluator_call_with_types (
71- model, varinfo
72+ model, VarInfo (model)
7273 )
7374 JET. test_call (f_eval, argtypes_eval)
7475
7576 f_sample, argtypes_sample = DynamicPPL. DebugUtils. gen_evaluator_call_with_types (
76- model, varinfo , DynamicPPL. SamplingContext ()
77+ model, VarInfo (model) , DynamicPPL. SamplingContext ()
7778 )
7879 JET. test_call (f_sample, argtypes_sample)
7980 end
You can’t perform that action at this time.
0 commit comments