Skip to content

Commit b78882d

Browse files
committed
better comment
1 parent c564bac commit b78882d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/networkapi.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,6 +1280,8 @@ conservedquantities(state, cons_laws) = cons_laws * state
12801280

12811281
# If u0s are not given while conservation laws are present, throws an error.
12821282
# Used in HomotopyContinuation and BifurcationKit extensions.
1283+
# Currently only checks if any u0s are given
1284+
# (not whether these are enough for computing conserved quantitites, this will yield a less informative error).
12831285
function conservationlaw_errorcheck(rs, pre_varmap)
12841286
vars_with_vals = Set(p[1] for p in pre_varmap)
12851287
any(s -> s in vars_with_vals, species(rs)) && return

0 commit comments

Comments
 (0)