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 c00c378 commit afc0226Copy full SHA for afc0226
src/systems/nonlinear/initializesystem.jl
@@ -150,11 +150,7 @@ function generate_initializesystem(sys::ODESystem;
150
[get_iv(sys)],
151
[p for p in parameters(sys) if !haskey(paramsubs, p)]
152
)
153
- nleqs = if algebraic_only
154
- [eqs_ics; observed(sys)]
155
- else
156
- [eqs_ics; get_initialization_eqs(sys); initialization_eqs; observed(sys)]
157
- end
+ nleqs = [eqs_ics; observed(sys)]
158
nleqs = Symbolics.substitute.(nleqs, (paramsubs,))
159
unks = [full_states; collect(values(paramsubs))]
160
0 commit comments