Skip to content

Commit

Permalink
updated docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde committed Nov 29, 2024
1 parent 76aebc5 commit c150a87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ But one needs to be careful when prefixing variables in the nested models:
```jldoctest condition
julia> @model function demo_outer_prefix()
m ~ to_submodel(prefix(demo_inner(), "inner"))
m ~ to_submodel(prefix(demo_inner(), "inner"), false)
return m
end
demo_outer_prefix (generic function with 2 methods)
Expand Down Expand Up @@ -605,7 +605,7 @@ But one needs to be careful when prefixing variables in the nested models:
```jldoctest fix
julia> @model function demo_outer_prefix()
m ~ to_submodel(prefix(demo_inner(), "inner"))
m ~ to_submodel(prefix(demo_inner(), "inner"), false)
return m
end
demo_outer_prefix (generic function with 2 methods)
Expand Down

0 comments on commit c150a87

Please sign in to comment.