Skip to content

Commit decfe35

Browse files
Merge pull request #405 from SciML/issingular
Overload issingular for AbstractVectorOfArray
2 parents 69cbaad + 52f8619 commit decfe35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/vector_of_array.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,9 @@ end
792792
@inline Statistics.cor(VA::AbstractVectorOfArray; kwargs...) = cor(Array(VA); kwargs...)
793793
@inline Base.adjoint(VA::AbstractVectorOfArray) = Adjoint(VA)
794794

795+
# linear algebra
796+
ArrayInterface.issingular(va::AbstractVectorOfArray) = ArrayInterface.issingular(Matrix(va))
797+
795798
# make it show just like its data
796799
function Base.show(io::IO, m::MIME"text/plain", x::AbstractVectorOfArray)
797800
(println(io, summary(x), ':'); show(io, m, x.u))

0 commit comments

Comments
 (0)