Skip to content

Commit

Permalink
Fix in MUMPSSolver: when doing the symbolic analysis, set the matrix …
Browse files Browse the repository at this point in the history
…entries to NULL
  • Loading branch information
cvanaret committed Dec 2, 2024
1 parent 5943078 commit b2d9987
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uno/solvers/MUMPS/MUMPSSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ namespace uno {
this->mumps_structure.n = static_cast<int>(matrix.dimension());
this->mumps_structure.nnz = static_cast<int>(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();
Expand Down

0 comments on commit b2d9987

Please sign in to comment.