Skip to content

Commit

Permalink
Update ext/SciMLBaseZygoteExt.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Rackauckas <[email protected]>
  • Loading branch information
DhairyaLGandhi and ChrisRackauckas authored May 6, 2024
1 parent 92ad6a8 commit 22dc7ec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ext/SciMLBaseZygoteExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ end

@adjoint function Base.getindex(VA::ODESolution{T}, sym::Union{Tuple, AbstractVector}) where T
function ODESolution_getindex_pullback(Δ)
@show typeof(Δ)
sym = sym isa Tuple ? collect(sym) : sym
i = map(x -> symbolic_type(x) != NotSymbolic() ? variable_index(VA, x) : x, sym)
if i === nothing
Expand Down

0 comments on commit 22dc7ec

Please sign in to comment.