Skip to content

Commit 3a16f9c

Browse files
committed
Fix JET test (correctly)
1 parent a581059 commit 3a16f9c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/ext/DynamicPPLJETExt.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
end
4141
end
4242
@test DynamicPPL.Experimental.determine_suitable_varinfo(demo4()) isa
43+
DynamicPPL.NTVarInfo
44+
init_model = DynamicPPL.contextualize(
45+
demo4(), DynamicPPL.InitContext(DynamicPPL.PriorInit())
46+
)
47+
@test DynamicPPL.Experimental.determine_suitable_varinfo(init_model) isa
4348
DynamicPPL.UntypedVarInfo
4449

4550
# In this model, the type error occurs in the user code rather than in DynamicPPL.

0 commit comments

Comments
 (0)