Skip to content

Commit 9ba924a

Browse files
committed
up
1 parent 5ef4f1a commit 9ba924a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/network_analysis.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ function cache_conservationlaw_eqs!(rn::ReactionSystem, N::AbstractMatrix, col_o
743743
# Creates, for this conservation law, the sum of all independent species (weighted by
744744
# the ratio between the coefficient of the species and the species which is elimianted.
745745
coefs = @view N[i, indepidxs]
746-
terms = sum((coef, sp) -> coef / scaleby * sp, zip(coefs, indepspecs))
746+
terms = sum(coef / scaleby * sp for (coef, sp) in zip(coefs, indepspecs))
747747

748748
# Computes the two equations corresponding to this conserved quantity.
749749
eq = depspecs[i] ~ constants[i] - terms

0 commit comments

Comments
 (0)