Is there a replacement for AbstractSparseMatrix

All,

I am dealing with some legacy code that is not my own. It uses a type AbstractSparseMatrix, which is valid in 0.6 but apparently not in 1.0.

Is there a direct replacement? I can find nothing.

Thanks all

julia> using SparseArrays

julia> AbstractSparseMatrix
AbstractSparseArray{Tv,Ti,2} where Ti where Tv
2 Likes

That worked.

With legacy code you want to be using 0.7 rather than 1.0, because it will give you deprecation warnings about things that have changed. Once you’ve addressed the warnings by fixing the code, you can switch back to 1.0.