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.
1 parent 0fd6f16 commit 494d185Copy full SHA for 494d185
docs/src/model_creation/parametric_stoichiometry.md
@@ -70,8 +70,8 @@ show(stdout, MIME"text/plain"(), equations(osys)) # hide
70
```
71
Specifying the parameter and initial condition values,
72
```@example s1
73
-p = (k₊ => 1.0, k₋ => 1.0, m => 2, n => 2)
74
-u₀ = [A => 1.0, B => 1.0]
+p = (revsys.k₊ => 1.0, revsys.k₋ => 1.0, revsys.m => 2, revsys.n => 2)
+u₀ = [revsys.A => 1.0, revsys.B => 1.0]
75
oprob = ODEProblem(osys, u₀, (0.0, 1.0), p)
76
nothing # hide
77
@@ -102,7 +102,7 @@ show(stdout, MIME"text/plain"(), equations(osys)) # hide
102
Since we no longer have factorial functions appearing, our example will now run
103
with `m` and `n` treated as floating point parameters:
104
105
-p = (k₊ => 1.0, k₋ => 1.0, m => 2.0, n => 2.0)
+p = (revsys.k₊ => 1.0, revsys.k₋ => 1.0, revsys.m => 2.0, revsys.n => 2.0)
106
107
sol = solve(oprob, Tsit5())
108
plot(sol)
0 commit comments