Skip to content

Commit 7ec86bb

Browse files
committed
fix parameter declaration
1 parent ffb24c4 commit 7ec86bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/model_creation/examples/smoluchowski_coagulation_equation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ We'll store the reaction rates in `pars` as `Pair`s, and set the initial conditi
6464
```julia
6565
# unknown variables are X, pars stores rate parameters for each rx
6666
t = default_t()
67-
@species k[1:nr] (X(t))[1:N]
67+
@parameters k[1:nr]
68+
@species (X(t))[1:N]
6869
pars = Pair.(collect(k), kv)
6970

7071
# time-span

0 commit comments

Comments
 (0)