From b2d99871f2936e2e22c2b452c58ba3fbe53613b3 Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Mon, 2 Dec 2024 10:58:56 +0100 Subject: [PATCH] Fix in MUMPSSolver: when doing the symbolic analysis, set the matrix entries to NULL --- uno/solvers/MUMPS/MUMPSSolver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/uno/solvers/MUMPS/MUMPSSolver.cpp b/uno/solvers/MUMPS/MUMPSSolver.cpp index 1218cbbd..e1883aee 100644 --- a/uno/solvers/MUMPS/MUMPSSolver.cpp +++ b/uno/solvers/MUMPS/MUMPSSolver.cpp @@ -42,6 +42,7 @@ namespace uno { this->mumps_structure.n = static_cast(matrix.dimension()); this->mumps_structure.nnz = static_cast(matrix.number_nonzeros()); this->mumps_structure.job = MUMPSSolver::JOB_ANALYSIS; + this->mumps_structure.a = nullptr; // connect the local COO matrix with the pointers in the structure this->mumps_structure.irn = this->COO_matrix.row_indices_pointer(); this->mumps_structure.jcn = this->COO_matrix.column_indices_pointer();