Describe the bug 🐞
On certain operations, issparse(::SubArray) is called, and it calls issparse on the parent, but it's not defined in the case of AbstractVectorOfArray.
Expected behavior
issparse(::SubArray) is defined, to false.
Error & Stacktrace ⚠️
> U = mapreduce(u -> view(u, :, :), hcat, us)
MethodError: no method matching issparse(::ODESolution{...})
Additional context
Solution:
import SparseArrays: issparse
issparse(::AbstractVectorOfArray) = false
Describe the bug 🐞
On certain operations,
issparse(::SubArray)is called, and it callsissparseon the parent, but it's not defined in the case ofAbstractVectorOfArray.Expected behavior
issparse(::SubArray)is defined, tofalse.Error & Stacktrace⚠️
Additional context
Solution: