From 6e54494438feec4ace56a4c3758fbd77a7b5abb6 Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Tue, 4 Jun 2024 21:24:54 +0200 Subject: [PATCH] Remove issymmetric check --- src/colpackcoloring.jl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/colpackcoloring.jl b/src/colpackcoloring.jl index 068eca6..9dde0cf 100644 --- a/src/colpackcoloring.jl +++ b/src/colpackcoloring.jl @@ -13,14 +13,14 @@ The fields of this struct are not part of the public API, they are only useful t filename::AbstractString, method::ColoringMethod, order::ColoringOrder; - verbose::Bool=false + verbose::Bool=false ) ColPackColoring( M::SparseMatrixCSC, method::ColoringMethod, order::ColoringOrder; - verbose::Bool=false + verbose::Bool=false ) Perform the coloring of a matrix that is either given directly or read from a file. @@ -76,7 +76,6 @@ function ColPackColoring( order::ColoringOrder; verbose::Bool=false, ) where {VT,IT} - @assert issymmetric(M) csr = Vector{Ref{Cuint}}() csr_mem = Vector{Vector{Cuint}}() for i in 1:(length(M.colptr) - 1)