Skip to content

Commit

Permalink
Update SciMLBaseZygoteExt.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Oct 28, 2023
1 parent 30c0342 commit 35f5f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/SciMLBaseZygoteExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ end
VA[sym, j], ODESolution_getindex_pullback
end

ZygoteRules.@adjoint function DiffEqBase.EnsembleSolution(sim, time, converged, stats)
ZygoteRules.@adjoint function EnsembleSolution(sim, time, converged, stats)
out = EnsembleSolution(sim, time, converged)
function EnsembleSolution_adjoint(p̄::AbstractArray{T, N}) where {T, N}
arrarr = [[p̄[ntuple(x -> Colon(), Val(N - 2))..., j, i]

Check warning on line 62 in ext/SciMLBaseZygoteExt.jl

View check run for this annotation

Codecov / codecov/patch

ext/SciMLBaseZygoteExt.jl#L59-L62

Added lines #L59 - L62 were not covered by tests
Expand Down

0 comments on commit 35f5f06

Please sign in to comment.