Skip to content

Commit

Permalink
Merge pull request #61 from cvanaret/cvanaret-mumps-fix
Browse files Browse the repository at this point in the history
Set correct options in MUMPS to better detect null pivots (singular matrices)
  • Loading branch information
cvanaret authored Nov 1, 2024
2 parents bcea64b + 1316296 commit c56cbbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions uno/solvers/MUMPS/MUMPSSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ namespace uno {
this->mumps_structure.icntl[1] = -1;
this->mumps_structure.icntl[2] = -1;
this->mumps_structure.icntl[3] = 0;
this->mumps_structure.icntl[12] = 1;
this->mumps_structure.icntl[23] = 1; // ICNTL(24) controls the detection of “null pivot rows”
}

MUMPSSolver::~MUMPSSolver() {
Expand Down

0 comments on commit c56cbbd

Please sign in to comment.