Skip to content

Commit 71555d8

Browse files
committed
rename spec mapping
1 parent 7d031cb commit 71555d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/problem.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ function DiffEqJump.JumpProblem(prob,aggregator,rn::AbstractReactionNetwork; kwa
99
end
1010

1111
# map from species symbol to index of species
12-
spec_to_sym = species_to_indices(rn)
12+
spec_to_idx = species_to_indices(rn)
1313

1414
# map from parameter symbol to index of parameter in prob.p
1515
param_to_idx = rate_to_indices(rn)
1616

1717
# get a JumpSet of the possible jumps
18-
jset = network_to_jumpset(rn, spec_to_sym, param_to_idx, prob.p)
18+
jset = network_to_jumpset(rn, spec_to_idx, param_to_idx, prob.p)
1919

2020
JumpProblem(prob, aggregator, jset; kwargs...)
2121
end

0 commit comments

Comments
 (0)