From 1ed792a0f08ed319f182ebd77022225ff6a858da Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Mon, 15 Apr 2024 10:10:34 -0400 Subject: [PATCH] Debug x7 --- lib/MadNLPGPU/src/cudss.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/MadNLPGPU/src/cudss.jl b/lib/MadNLPGPU/src/cudss.jl index 974ef130..aa1960a8 100644 --- a/lib/MadNLPGPU/src/cudss.jl +++ b/lib/MadNLPGPU/src/cudss.jl @@ -51,6 +51,7 @@ function CUDSSSolver( if opt.ordering == METIS_ORDERING println("METIS") A = SparseArrays.SparseMatrixCSC(csc) + A = A + A' - LinearAlgebra.Diagonal(A) G = Metis.graph(A, check_hermitian=false) opt.perm, _ = Metis.permutation(G) elseif opt.ordering == AMD_ORDERING