Skip to content

Commit a3ea11c

Browse files
format
1 parent 8933782 commit a3ea11c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/systems/nonlinear/modelingtoolkitize.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ function modelingtoolkitize(
3939

4040
if DiffEqBase.isinplace(prob)
4141
if prob isa NonlinearLeastSquaresProblem
42-
rhs = ArrayInterface.restructure(prob.f.resid_prototype, similar(prob.f.resid_prototype, Num))
42+
rhs = ArrayInterface.restructure(
43+
prob.f.resid_prototype, similar(prob.f.resid_prototype, Num))
4344
else
4445
rhs = ArrayInterface.restructure(prob.u0, similar(vars, Num))
4546
end

0 commit comments

Comments
 (0)