We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e279ce commit 8862b97Copy full SHA for 8862b97
src/systems/diffeqs/abstractodesystem.jl
@@ -730,7 +730,7 @@ function get_u0(
730
# if "lhs" is known by other means (parameter, another default, ...)
731
# TODO: Is there a better way to determine which equations to flip?
732
obs = map(x -> x.lhs => x.rhs, observed(sys))
733
- obs = map(x -> isparameter(x[1]) || x[1] in keys(defs) ? reverse(x) : x, obs)
+ obs = map(x -> x[1] in keys(defs) ? reverse(x) : x, obs)
734
obs = filter!(x -> !(x[1] isa Number), obs) # exclude e.g. "0 => x^2 + y^2 - 25"
735
obsmap = isempty(obs) ? Dict() : todict(obs)
736
0 commit comments