Skip to content

Commit c2c2e01

Browse files
Merge pull request #864 from SciML/avik-pal-patch-1
fix: incorrect tuple indexing
2 parents 77c9b9e + cb0a6b3 commit c2c2e01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solutions/solution_interface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const AllObserved = RecursiveArrayTools.AllObserved
44
# No Time Solution : Forward to `A.u`
55
Base.getindex(A::AbstractNoTimeSolution) = A.u[]
66
Base.getindex(A::AbstractNoTimeSolution, i::Int) = A.u[i]
7-
Base.getindex(A::AbstractNoTimeSolution, I::Vararg{Int, N}) where {N} = A.u[I]
7+
Base.getindex(A::AbstractNoTimeSolution, I::Vararg{Int, N}) where {N} = A.u[I...]
88
Base.getindex(A::AbstractNoTimeSolution, I::AbstractArray{Int}) = A.u[I]
99
Base.getindex(A::AbstractNoTimeSolution, I::CartesianIndex) = A.u[I]
1010
Base.getindex(A::AbstractNoTimeSolution, I::Colon) = A.u[I]

0 commit comments

Comments
 (0)