Skip to content

Commit

Permalink
Merge pull request #405 from SciML/issingular
Browse files Browse the repository at this point in the history
Overload issingular for AbstractVectorOfArray
  • Loading branch information
ChrisRackauckas authored Oct 24, 2024
2 parents 69cbaad + 52f8619 commit decfe35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vector_of_array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,9 @@ end
@inline Statistics.cor(VA::AbstractVectorOfArray; kwargs...) = cor(Array(VA); kwargs...)
@inline Base.adjoint(VA::AbstractVectorOfArray) = Adjoint(VA)

# linear algebra
ArrayInterface.issingular(va::AbstractVectorOfArray) = ArrayInterface.issingular(Matrix(va))

# make it show just like its data
function Base.show(io::IO, m::MIME"text/plain", x::AbstractVectorOfArray)
(println(io, summary(x), ':'); show(io, m, x.u))
Expand Down

0 comments on commit decfe35

Please sign in to comment.