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 e1472ea commit a76d55dCopy full SHA for a76d55d
test/debug_utils.jl
@@ -60,6 +60,15 @@
60
end
61
model = ModelOuterWorking()
62
@test check_model(model; error_on_failure=true)
63
+
64
+ # With manual prefixing, https://github.com/TuringLang/DynamicPPL.jl/issues/785
65
+ @model function ModelOuterWorking2()
66
+ x1 ~ to_submodel(prefix(ModelInner(), :a), false)
67
+ x2 ~ to_submodel(prefix(ModelInner(), :b), false)
68
+ return (x1, x2)
69
+ end
70
+ model = ModelOuterWorking2()
71
+ @test check_model(model; error_on_failure=true)
72
73
74
@testset "subsumes (x then x[1])" begin
0 commit comments