Skip to content

Commit 8c9b4be

Browse files
committed
update to master
1 parent 53d5ca2 commit 8c9b4be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/model_creation/parametric_stoichiometry.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ is a parameter, and the number of products is the product of two parameters.
99
```@example s1
1010
using Catalyst, Latexify, OrdinaryDiffEq, ModelingToolkit, Plots
1111
revsys = @reaction_network revsys begin
12+
@parameters m::Int64 n::Int64
1213
k₊, m*A --> (m*n)*B
1314
k₋, B --> A
1415
end
@@ -36,7 +37,7 @@ We could have equivalently specified our systems directly via the Catalyst
3637
API. For example, for `revsys` we would could use
3738
```@example s1
3839
t = default_t()
39-
@parameters k₊, k₋, m, n
40+
@parameters k₊ k₋ m::Int n
4041
@species A(t), B(t)
4142
rxs = [Reaction(k₊, [A], [B], [m], [m*n]),
4243
Reaction(k₋, [B], [A])]

0 commit comments

Comments
 (0)