Skip to content

Commit

Permalink
no conversion in oop calc_tderivative
Browse files Browse the repository at this point in the history
  • Loading branch information
jClugstor committed Feb 5, 2025
1 parent ff5ef64 commit 1068d0c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/OrdinaryDiffEqDifferentiation/src/derivative_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ function calc_tderivative(integrator, cache)
autodiff_alg
end

t = autodiff_alg isa AutoForwardDiff ? convert(eltype(dT), t) : t

if integrator.iter == 1
try
dT = DI.derivative(tf, autodiff_alg, t)
Expand Down

0 comments on commit 1068d0c

Please sign in to comment.