Skip to content

Commit

Permalink
Merge pull request #559 from AayushSabharwal/as/rerun-ci
Browse files Browse the repository at this point in the history
fix: bugs relating to RecursiveArrayTools@3
  • Loading branch information
ChrisRackauckas authored Dec 18, 2023
2 parents 083c1e6 + 322375d commit 7465a4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ext/SciMLBaseZygoteExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using SciMLBase: ODESolution, sym_to_index, remake,
getobserved, build_solution, EnsembleSolution,
NonlinearSolution, AbstractTimeseriesSolution
using SymbolicIndexingInterface: symbolic_type, NotSymbolic
using RecursiveArrayTools

# This method resolves the ambiguity with the pullback defined in
# RecursiveArrayToolsZygoteExt
Expand Down Expand Up @@ -70,6 +71,9 @@ end
function EnsembleSolution_adjoint(p̄::AbstractArray{<:AbstractArray, 1})
(EnsembleSolution(p̄, 0.0, true, stats), nothing, nothing, nothing)
end
function EnsembleSolution_adjoint(p̄::RecursiveArrayTools.AbstractVectorOfArray)
(EnsembleSolution(p̄, 0.0, true, stats), nothing, nothing, nothing)
end
function EnsembleSolution_adjoint(p̄::EnsembleSolution)
(p̄, nothing, nothing, nothing)
end
Expand Down

0 comments on commit 7465a4f

Please sign in to comment.