Skip to content

Commit

Permalink
fix: don't rely on RAT internals in EnsembleSolution indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed May 6, 2024
1 parent a0fab7a commit a105744
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)

Check warning on line 214 in src/ensemble/ensemble_solutions.jl

View check run for this annotation

Codecov / codecov/patch

src/ensemble/ensemble_solutions.jl#L214

Added line #L214 was not covered by tests
return [xi[s] for xi in x.u]
end

Expand Down

0 comments on commit a105744

Please sign in to comment.