Skip to content

Commit

Permalink
chore: use ArrayInterface for g
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaLGandhi committed Jun 27, 2024
1 parent 26d1465 commit 3559012
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 @@ -1418,7 +1418,7 @@ function DiffEqBase._concrete_solve_adjoint(
# use TrackedArray for efficiency of the tape
_f(args...) = ArrayInterface.aos_to_soa(prob.f(args...))
if prob isa SDEProblem
_g(args...) = reduce(vcat, prob.g(args...))
_g(args...) = ArrayInterface.aos_to_soa(prob.g(args...))
_prob = remake(prob,
f = DiffEqBase.parameterless_type(prob.f){
SciMLBase.isinplace(prob),
Expand Down

0 comments on commit 3559012

Please sign in to comment.