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 Jan 23, 2025
1 parent 47d1a5e commit fd2554a
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 fd2554a

Please sign in to comment.