We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 650f566 commit c788e9aCopy full SHA for c788e9a
src/Pardiso.jl
@@ -283,6 +283,9 @@ end
283
284
# Copied from SparseArrays.jl but with a tweak
285
# to check symmetry of the sparsity pattern
286
+@inline _isnotzero(x) = iszero(x) !== true # like `!iszero(x)`, but handles `x::Missing`
287
+@inline _isnotzero(x::Number) = !iszero(x)
288
+@inline _isnotzero(x::AbstractArray) = !iszero(x)
289
function _is_hermsym(A::SparseMatrixCSC, check::Function)
290
m, n = size(A)
291
if m != n; return false; end
0 commit comments