Skip to content

Commit

Permalink
set inplace to true
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Apr 1, 2024
1 parent 2c37bdc commit 0abe18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/KiteModels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ function init_sim!(s::AKM; t_end=1.0, stiffness_factor=0.035, prn=false)
solver = IDA(linear_solver=Symbol(s.set.linear_solver), max_order = s.set.max_order)
tspan = (0.0, t_end)
abstol = s.set.abs_tol # max error in m/s and m
prob = DAEProblem(residual!, yd0, y0, tspan, s, differential_vars=differential_vars)
prob = DAEProblem{true}(residual!, yd0, y0, tspan, s, differential_vars=differential_vars)
integrator = Sundials.init(prob, solver, abstol=abstol, reltol=s.set.rel_tol)
end

Expand Down

0 comments on commit 0abe18f

Please sign in to comment.