Skip to content

Commit 13c427a

Browse files
format
1 parent 2c55750 commit 13c427a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/systems/nonlinear/modelingtoolkitize.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ function modelingtoolkitize(
4141
if prob isa NonlinearLeastSquaresProblem
4242
rhs = ArrayInterface.restructure(
4343
prob.f.resid_prototype, similar(prob.f.resid_prototype, Num))
44-
prob.f(rhs, vars, params)
45-
eqs = vcat([0.0 ~ rhs[i] for i in 1:length(prob.f.resid_prototype)]...)
44+
prob.f(rhs, vars, params)
45+
eqs = vcat([0.0 ~ rhs[i] for i in 1:length(prob.f.resid_prototype)]...)
4646
else
4747
rhs = ArrayInterface.restructure(prob.u0, similar(vars, Num))
4848
prob.f(rhs, vars, params)

0 commit comments

Comments
 (0)