Skip to content

Commit

Permalink
Update src/concrete_solve.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek-1Bhatt committed Jul 11, 2022
1 parent 4a7722f commit 971cea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/concrete_solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ function DiffEqBase._concrete_solve_adjoint(prob, alg, sensealg::ReverseDiffAdjo

function reversediff_adjoint_forwardpass(_u0, _p)
if (convert_tspan(sensealg) === nothing &&
((haskey(kwargs, :callback) && has_a_callback(kwargs[:callback])))) ||
((haskey(kwargs, :callback) && has_continuous_callback(kwargs[:callback])))) ||
(convert_tspan(sensealg) !== nothing && convert_tspan(sensealg))
_tspan = convert.(eltype(_p), prob.tspan)
else
Expand Down

0 comments on commit 971cea0

Please sign in to comment.