Skip to content

Commit bfa48b3

Browse files
committed
Fix doctest
1 parent 691e01d commit bfa48b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/submodel.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ julia> @model illegal_likelihood() = a ~ to_submodel(inner())
144144
illegal_likelihood (generic function with 2 methods)
145145
146146
julia> model = illegal_likelihood() | (a = 1.0,);
147-
julia> model(a)
147+
148+
julia> model()
148149
ERROR: ArgumentError: `x ~ to_submodel(...)` is not supported when `x` is observed
149150
[...]
150151
```

0 commit comments

Comments
 (0)