Skip to content

Commit

Permalink
Merge pull request #687 from AayushSabharwal/as/ensemble-solution-ind…
Browse files Browse the repository at this point in the history
…exing

fix: don't rely on RAT internals in EnsembleSolution indexing
  • Loading branch information
ChrisRackauckas authored May 9, 2024
2 parents 3b387e8 + a105744 commit 5fb76df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ensemble/ensemble_solutions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,7 @@ end
end
end

Base.@propagate_inbounds function RecursiveArrayTools._getindex(
x::AbstractEnsembleSolution, ::Union{ScalarSymbolic, ArraySymbolic}, s, ::Colon)
Base.@propagate_inbounds function Base.getindex(x::AbstractEnsembleSolution, s, ::Colon)
return [xi[s] for xi in x.u]
end

Expand Down

0 comments on commit 5fb76df

Please sign in to comment.