Skip to content

Commit

Permalink
Merge branch 'master' into as/format
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Jul 31, 2024
2 parents 8fdd6e4 + fe9f207 commit 40a9342
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/FormatCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ on:
jobs:
format-check:
name: "Format Check"
uses: "SciML/.github/.github/workflows/format-check.yml@v1"
uses: "SciML/.github/.github/workflows/format-suggestions-on-pr.yml@v1"
5 changes: 2 additions & 3 deletions src/ensemble/ensemble_solutions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,8 @@ Base.@propagate_inbounds function Base.getindex(
return x.u[s].u[i]
end

Base.@propagate_inbounds function Base.getindex(
x::AbstractEnsembleSolution, s::Integer, idxs::Integer...)
return x.u[s][idxs]
Base.@propagate_inbounds function Base.getindex(x::AbstractEnsembleSolution, s::Integer, i2::Integer, i3::Integer, idxs::Integer...)
return x.u[s][i2, i3, idxs...]
end

Base.@propagate_inbounds function Base.getindex(x::AbstractEnsembleSolution, s, ::Colon)
Expand Down

0 comments on commit 40a9342

Please sign in to comment.