Skip to content

Commit a50d572

Browse files
authored
Update docs/src/model_creation/dsl_advanced.md
1 parent bfb9207 commit a50d572

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/src/model_creation/dsl_advanced.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,9 @@ rn = @reaction_network begin
283283
end
284284
```
285285
Running the code above will yield the following error:
286-
286+
```
287+
LoadError: UndeclaredSymbolicError: Unrecognized variables A detected in reaction expression: "((k1, k2), A <--> B)". Since the flag @require_declaration is declared, all species must be explicitly declared with the @species macro.
288+
```
287289
In order to avoid the error in this case all the relevant species and parameters will have to be declared.
288290
```@example dsl_advanced_require_dec
289291
# The following case will not error.

0 commit comments

Comments
 (0)