You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function Base.lastindex(A::AbstractVectorOfArray, i=1)
165
+
i ==1&&returnlength(A)
166
+
len1 =lastindex(A[1], i-1)
167
+
all(x->isequal(lastindex(x, i-1), len1), A) &&return len1
168
+
throw(ArgumentError("`end` is not defined for AbstractVectorOfArray types when the arrays have different sizes. Either enforce that the arrays are all similarly sized or directly define the index value.
169
+
Note that a common reason for this error in the SciMLSolution context comes from adaptively sized models. Using arguments like `saveat` can enforce that an ensemble of solutions are all saved at the same time points and thus all have the same size. Similarly, if an ODE is solved with adaptivity in the size of the system (such as for adaptive grids) then this error can refer to the changing size of the ODE through the time series."))
function Base.lastindex(A::AbstractVectorOfArray, i=1)
549
-
i ==1&&returnlength(A)
550
-
len1 =lastindex(A[1], i-1)
551
-
all(x->isequal(lastindex(x, i-1), len1), A) &&return len1
552
-
throw(ArgumentError("`end` is not defined for AbstractVectorOfArray types when the arrays have different sizes. Either enforce that the arrays are all similarly sized or directly define the index value.
553
-
554
-
Note that a common reason for this error in the SciMLSolution context comes from adaptively sized models. Using arguments like `saveat` can enforce that an ensemble of solutions are all saved at the same time points and thus all have the same size. Similarly, if an ODE is solved with adaptivity in the size of the system (such as for adaptive grids) then this error can refer to the changing size of the ODE through the time series."))
0 commit comments