Skip to content

Commit

Permalink
Remove issymmetric check
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle authored Jun 4, 2024
1 parent 01dd282 commit 6e54494
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/colpackcoloring.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 6e54494

Please sign in to comment.