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.
modelingtoolkitize(::NonlinearProblem)
1 parent c066a95 commit e742ca7Copy full SHA for e742ca7
src/systems/nonlinear/modelingtoolkitize.jl
@@ -45,7 +45,7 @@ function modelingtoolkitize(
45
eqs = vcat([0.0 ~ rhs[i] for i in 1:length(prob.f.resid_prototype)]...)
46
else
47
rhs = ArrayInterface.restructure(prob.u0, similar(vars, Num))
48
- prob.f(rhs, vars, p isa MTKParameters ? (params,) : params)
+ prob.f(rhs, vars, params)
49
eqs = vcat([0.0 ~ rhs[i] for i in 1:length(rhs)]...)
50
end
51
0 commit comments