Skip to content

Commit 3a17f58

Browse files
committed
fix numericnstoic
1 parent 049dda7 commit 3a17f58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/jumps/jumpsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ end
180180
function numericnstoich(mtrs::Vector{Pair{V,W}}, statetoid) where {V,W}
181181
ns = Vector{Pair{Int,W}}()
182182
for (wspec,stoich) in mtrs
183-
spec = value(spec)
183+
spec = value(wspec)
184184
!istree(spec) && _iszero(spec) && error("Net stoichiometry can not have a species labelled 0.")
185185
push!(ns, statetoid[spec] => stoich)
186186
end

0 commit comments

Comments
 (0)