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 e82d897 commit 039a523Copy full SHA for 039a523
src/submodel.jl
@@ -144,7 +144,8 @@ julia> @model illegal_likelihood() = a ~ to_submodel(inner())
144
illegal_likelihood (generic function with 2 methods)
145
146
julia> model = illegal_likelihood() | (a = 1.0,);
147
-julia> model(a)
+
148
+julia> model()
149
ERROR: ArgumentError: `x ~ to_submodel(...)` is not supported when `x` is observed
150
[...]
151
```
0 commit comments