Skip to content

Commit

Permalink
f might be a wrapper type
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal authored Nov 22, 2023
1 parent 8e7c9ee commit f8a8af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function DiffEqBase.__solve(prob::DiffEqBase.AbstractSteadyStateProblem, alg::Dy
(callback = CallbackSet(callback, odesolve_kwargs[:callback]))

# Construct and solve the ODEProblem
odeprob = ODEProblem{isinplace(f)}(f, prob.u0, tspan, prob.p)
odeprob = ODEProblem{isinplace(prob)}(f, prob.u0, tspan, prob.p)
odesol = DiffEqBase.__solve(odeprob, alg.alg, args...; abstol, reltol, kwargs...,
odesolve_kwargs..., callback, save_end = true)

Expand Down

0 comments on commit f8a8af5

Please sign in to comment.