Skip to content

Commit cb0a6b3

Browse files
authored
fix: incorrect tuple indexing
1 parent 77c9b9e commit cb0a6b3

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)