Skip to content

Commit

Permalink
Merge pull request #864 from SciML/avik-pal-patch-1
Browse files Browse the repository at this point in the history
fix: incorrect tuple indexing
  • Loading branch information
ChrisRackauckas authored Nov 20, 2024
2 parents 77c9b9e + cb0a6b3 commit c2c2e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solutions/solution_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const AllObserved = RecursiveArrayTools.AllObserved
# No Time Solution : Forward to `A.u`
Base.getindex(A::AbstractNoTimeSolution) = A.u[]
Base.getindex(A::AbstractNoTimeSolution, i::Int) = A.u[i]
Base.getindex(A::AbstractNoTimeSolution, I::Vararg{Int, N}) where {N} = A.u[I]
Base.getindex(A::AbstractNoTimeSolution, I::Vararg{Int, N}) where {N} = A.u[I...]
Base.getindex(A::AbstractNoTimeSolution, I::AbstractArray{Int}) = A.u[I]
Base.getindex(A::AbstractNoTimeSolution, I::CartesianIndex) = A.u[I]
Base.getindex(A::AbstractNoTimeSolution, I::Colon) = A.u[I]
Expand Down

0 comments on commit c2c2e01

Please sign in to comment.