Skip to content

Commit

Permalink
Merge remote-tracking branch 'Abhishek-1Bhatt/sarray' into sarray
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek-1Bhatt committed Jul 11, 2022
2 parents 10843ad + 971cea0 commit 1dba742
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 @@ -898,7 +898,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 1dba742

Please sign in to comment.