Skip to content

Commit

Permalink
Merge pull request #610 from ArnoStrouwen/enzyme
Browse files Browse the repository at this point in the history
make sensitivity_solution work with Enzyme
  • Loading branch information
ChrisRackauckas authored Feb 4, 2024
2 parents 0c62711 + a165c34 commit 0daefce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/solutions/ode_solutions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,9 @@ function sensitivity_solution(sol::ODESolution, u, t)
end

interp = enable_interpolation_sensitivitymode(sol.interp)

ODESolution{T, N}(u, sol.u_analytic, sol.errors, t,
nothing, sol.prob,
ODESolution{T, N}(u, sol.u_analytic, sol.errors,
t isa Vector ? t : collect(t),
sol.k, sol.prob,
sol.alg, interp,
sol.dense, sol.tslocation,
sol.stats, sol.alg_choice, sol.retcode)
Expand Down

0 comments on commit 0daefce

Please sign in to comment.