Skip to content

Commit

Permalink
fix parameter declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacsas committed Jun 7, 2024
1 parent ffb24c4 commit 7ec86bb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ We'll store the reaction rates in `pars` as `Pair`s, and set the initial conditi
```julia
# unknown variables are X, pars stores rate parameters for each rx
t = default_t()
@species k[1:nr] (X(t))[1:N]
@parameters k[1:nr]
@species (X(t))[1:N]
pars = Pair.(collect(k), kv)

# time-span
Expand Down

0 comments on commit 7ec86bb

Please sign in to comment.