Skip to content

Commit 5fb76df

Browse files
Merge pull request #687 from AayushSabharwal/as/ensemble-solution-indexing
fix: don't rely on RAT internals in EnsembleSolution indexing
2 parents 3b387e8 + a105744 commit 5fb76df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ensemble/ensemble_solutions.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,7 @@ end
211211
end
212212
end
213213

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

0 commit comments

Comments
 (0)