There is a bug in the calculation conditions for sparse matrices
using LinearAlgebra,SparseArrays
A = sparse([1.0 2.0;3.0 4.0])
SparseArrays.cond(A,1)
Has anyone noticed this issue? The code above seems to consistently fail to exit. `cond(collect(A),1)` works fine.
0 条评论