Skip to content

Commit 79dfbe4

Browse files
committed
Merge branch 'dsl-no-infer-docs' of github.com:vyudu/Catalyst.jl into dsl-no-infer-docs
2 parents 38f5455 + a50d572 commit 79dfbe4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/src/model_creation/dsl_advanced.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,10 @@ rn = @reaction_network begin
282282
(k1, k2), A <--> B
283283
end
284284
```
285-
Running the code above will yield the following error: `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.`
286-
285+
Running the code above will yield the following error:
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)