Skip to content

Commit da95aba

Browse files
committed
fixed reference to @prefix in @returned_quantities macro
1 parent db2102c commit da95aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/submodel_macro.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ end
263263
Run `model` nested inside of another model and return the return-values of the `model`.
264264
265265
!!! warning
266-
It's generally recommended to use [`DynamicPPL.prefix(::Model, x)`](@ref) or
266+
It's generally recommended to use [`@prefix(::Model, input)`](@ref) or
267267
[`@prefix(model, prefix_expr)`](@ref) in combination with `@returned_quantities`
268268
to ensure that the variables in `model` are unique and do not clash with other variables in the
269269
parent model or in other submodels.

0 commit comments

Comments
 (0)