Skip to content

Commit dc43b57

Browse files
committed
change parameter order in rate (for display)
1 parent ba61676 commit dc43b57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/model_creation/functional_parameters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ in_type = typeof(interpolated_light)
5656
@parameters kA kD (light_in::in_type)(..)
5757
@species Pₐ(t) Pᵢ(t)
5858
rxs = [
59-
Reaction(light_in(t)*kA, [Pᵢ], [Pₐ]),
59+
Reaction(kA*light_in(t), [Pᵢ], [Pₐ]),
6060
Reaction(kD, [Pₐ], [Pᵢ])
6161
]
6262
@named rs = ReactionSystem(rxs, t)
@@ -77,7 +77,7 @@ It is possible to use time-dependent inputs when creating models [through the DS
7777
```@example functional_parameters_circ_rhythm
7878
input = light_in(t)
7979
rs_dsl = @reaction_network rs begin
80-
($input*kA, kD), Pᵢ <--> Pₐ
80+
(kA*$input, kD), Pᵢ <--> Pₐ
8181
end
8282
```
8383
We can confirm that this model is identical to our programmatic one (and should we wish to, we can simulate it using identical syntax syntax).

0 commit comments

Comments
 (0)