Skip to content

Commit

Permalink
MueLu CoalesceDropFactory: Avoid overflow
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Glusa <[email protected]>
  • Loading branch information
cgcgcg committed Feb 6, 2025
1 parent 6c73dbf commit 1316668
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ void CoalesceDropFactory<Scalar, LocalOrdinal, GlobalOrdinal, Node>::Build(Level
// Deal with the situation where boundary conditions have only been enforced on rows, but not on columns.
// We enforce dropping of these entries by assigning a very large number to the diagonal entries corresponding to BCs.
if (!haveAddedToDiag)
localLaplDiagData[row] = STS::rmax();
localLaplDiagData[row] = STS::squareroot(STS::rmax());
}
} // subtimer
{
Expand Down

0 comments on commit 1316668

Please sign in to comment.