Skip to content

Commit 494d185

Browse files
committed
namespace mappings
1 parent 0fd6f16 commit 494d185

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/model_creation/parametric_stoichiometry.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ show(stdout, MIME"text/plain"(), equations(osys)) # hide
7070
```
7171
Specifying the parameter and initial condition values,
7272
```@example s1
73-
p = (k₊ => 1.0, k₋ => 1.0, m => 2, n => 2)
74-
u₀ = [A => 1.0, B => 1.0]
73+
p = (revsys.k₊ => 1.0, revsys.k₋ => 1.0, revsys.m => 2, revsys.n => 2)
74+
u₀ = [revsys.A => 1.0, revsys.B => 1.0]
7575
oprob = ODEProblem(osys, u₀, (0.0, 1.0), p)
7676
nothing # hide
7777
```
@@ -102,7 +102,7 @@ show(stdout, MIME"text/plain"(), equations(osys)) # hide
102102
Since we no longer have factorial functions appearing, our example will now run
103103
with `m` and `n` treated as floating point parameters:
104104
```@example s1
105-
p = (k₊ => 1.0, k₋ => 1.0, m => 2.0, n => 2.0)
105+
p = (revsys.k₊ => 1.0, revsys.k₋ => 1.0, revsys.m => 2.0, revsys.n => 2.0)
106106
oprob = ODEProblem(osys, u₀, (0.0, 1.0), p)
107107
sol = solve(oprob, Tsit5())
108108
plot(sol)

0 commit comments

Comments
 (0)