Skip to content

Commit

Permalink
Debug x6
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Apr 15, 2024
1 parent 4bd47cb commit aec3bc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/MadNLPGPU/src/cudss.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function CUDSSSolver(
if opt.ordering == METIS_ORDERING
println("METIS")
A = SparseArrays.SparseMatrixCSC(csc)
A = A + A' - Diagonal(A)
G = Metis.graph(A, check_hermitian=false)
opt.perm, _ = Metis.permutation(G)
elseif opt.ordering == AMD_ORDERING
Expand Down

0 comments on commit aec3bc3

Please sign in to comment.