Skip to content

Commit 9eeead5

Browse files
committed
up
1 parent ac3d9cc commit 9eeead5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ext/CatalystHomotopyContinuationExtension/homotopy_continuation_extension.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,6 @@ function steady_state_polynomial(rs::ReactionSystem, ps, u0)
5858
return poly_type_convert(ss_poly)
5959
end
6060

61-
# If u0s are not given while conservation laws are present, throws an error.
62-
function conservationlaw_errorcheck(rs, pre_varmap)
63-
vars_with_vals = Set(p[1] for p in pre_varmap)
64-
any(s -> s in vars_with_vals, species(rs)) && return
65-
isempty(conservedequations(rs)) ||
66-
error("The system has conservation laws but initial conditions were not provided for some species.")
67-
end
68-
6961
# Parses and expression and return a version where any exponents that are Float64 (but an int, like 2.0) are turned into Int64s.
7062
make_int_exps(expr) = wrap(Rewriters.Postwalk(Rewriters.PassThrough(___make_int_exps))(unwrap(expr))).val
7163
function ___make_int_exps(expr)

0 commit comments

Comments
 (0)