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.
prefix
@prefix
1 parent 9e0730f commit cc3af46Copy full SHA for cc3af46
docs/src/api.md
@@ -21,6 +21,13 @@ One can nest models and call another model inside the model function with [`@sub
21
@returned_quantities
22
```
23
24
+In the context of nesting models, it's also useful to prefix the variables in sub-models to avoid variable names clashing:
25
+
26
+```@docs
27
+prefix(::DynamicPPL.Model, x)
28
+@prefix
29
+```
30
31
### Type
32
33
A [`Model`](@ref) can be created by calling the model function, as defined by [`@model`](@ref).
0 commit comments