Skip to content

Commit

Permalink
Update ext/IntegralsZygoteExt.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Sep 17, 2023
1 parent 058941a commit 2d3ee8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/IntegralsZygoteExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ function ChainRulesCore.rrule(::typeof(Integrals.__solvebp), cache, alg, senseal
out, quadrature_adjoint
end

# Zygote.@adjoint function Zygote.literal_getproperty(sol::SciMLBase.IntegralSolution,
# ::Val{:u})
# sol.u, Δ -> (SciMLBase.build_solution(sol.prob, sol.alg, Δ, sol.resid),)
# end
Zygote.@adjoint function Zygote.literal_getproperty(sol::SciMLBase.IntegralSolution,
::Val{:u})
sol.u, Δ -> (SciMLBase.build_solution(sol.prob, sol.alg, Δ, sol.resid),)
end
end

0 comments on commit 2d3ee8e

Please sign in to comment.