Skip to content

Commit

Permalink
hotfix ss
Browse files Browse the repository at this point in the history
  • Loading branch information
xtalax committed Nov 14, 2023
1 parent 9ffc00c commit 7eb9971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/discretization_state.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function SciMLBase.discretize(pdesys::PDESystem,
simpsys = structural_simplify(sys)
if tspan === nothing
add_metadata!(get_metadata(sys), sys)
return prob = NonlinearProblem(simpsys, ones(length(simpsys.states));
return prob = NonlinearProblem(simpsys, ones(length(get_eqs(simpsys)));
discretization.kwargs..., kwargs...)
else
# Use ODAE if nessesary
Expand Down

0 comments on commit 7eb9971

Please sign in to comment.