We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1daeeb3 + 9de9fca commit 443e151Copy full SHA for 443e151
src/solutions/solution_interface.jl
@@ -7,6 +7,7 @@ Base.getindex(A::AbstractNoTimeSolution,i::Int) = A.u[i]
7
Base.getindex(A::AbstractNoTimeSolution,I::Vararg{Int, N}) where {N} = A.u[I]
8
Base.getindex(A::AbstractNoTimeSolution,I::AbstractArray{Int}) = A.u[I]
9
Base.getindex(A::AbstractNoTimeSolution,I::CartesianIndex) = A.u[I]
10
+Base.getindex(A::AbstractNoTimeSolution,I::Colon) = A.u[I]
11
Base.getindex(A::AbstractTimeseriesSolution,I::AbstractArray{Int}) = solution_slice(A,I)
12
Base.setindex!(A::AbstractNoTimeSolution, v, i::Int) = (A.u[i] = v)
13
Base.setindex!(A::AbstractNoTimeSolution, v, I::Vararg{Int, N}) where {N} = (A.u[I] = v)
0 commit comments