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 f5b6ba7 commit cf90e39Copy full SHA for cf90e39
src/initialization.jl
@@ -304,7 +304,7 @@ function initialization_status(prob::AbstractSciMLProblem)
304
iprob = prob.f.initialization_data.initializeprob
305
isnothing(prob) && return nothing
306
307
- nunknowns = iprob.u0 === nothing ? 0 : length(iprob.u0)
+ nunknowns = state_values(iprob) === nothing ? 0 : length(state_values(iprob))
308
neqs = if __has_resid_prototype(iprob.f) && iprob.f.resid_prototype !== nothing
309
length(iprob.f.resid_prototype)
310
else
0 commit comments