Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
TorkelE committed Jul 27, 2024
1 parent 3211282 commit 24587b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/reactionsystem_conversions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ drop_dynamics(spec) = isconstant(spec) || isbc(spec) || (!isspecies(spec))

# for a `ReactionSystem`, create a vector with all the right-hand side expressions in the
# corresponding ODE system (used by the `assemble_drift` function)
function assemble_oderhs(rs, isps; combinatoric_ratelaws = true, remove_conserved = false)
function assemble_oderhs(rs, ind_sps; combinatoric_ratelaws = true, remove_conserved = false)
# initiates the right-hand side equations as expressions with `0` only.
species_to_idx = Dict(x => i for (i, x) in enumerate(isps))
rhsvec = Any[0 for _ in isps]
species_to_idx = Dict(x => i for (i, x) in enumerate(ind_sps))
rhsvec = Any[0 for _ in ind_sps]

# if we have eliminated conservation laws, create a dictionary taking each species eliminated
# in this process to the expression it is replaced by (if not, creates an empty dict)
Expand Down

0 comments on commit 24587b8

Please sign in to comment.