From 306f9060d51dfae14a59c091d2cf1e91ee34e184 Mon Sep 17 00:00:00 2001 From: Oriol Colomes Date: Mon, 28 Feb 2022 20:47:21 +0100 Subject: [PATCH] Added issparse function --- src/Interfaces.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Interfaces.jl b/src/Interfaces.jl index 06d88a7e..b6d57a17 100644 --- a/src/Interfaces.jl +++ b/src/Interfaces.jl @@ -2307,6 +2307,8 @@ function PSparseMatrix( PSparseMatrix(sparse,I,J,V,args...;kwargs...) end +SparseArrays.issparse(a::PSparseMatrix) = true + function LinearAlgebra.mul!( c::PVector, a::PSparseMatrix,