Skip to content

Commit

Permalink
Reducing single precision default tolerance further.
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkse committed May 23, 2024
1 parent 3b47a33 commit ef13ba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Initialization/DivCleaner/ProjectionDivCleaner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ ProjectionDivCleaner::ProjectionDivCleaner()
{
// Initialize tolerance based on field precision
if constexpr (std::is_same<Real, float>::value) {
m_rtol = 5e-5;
m_rtol = 1e-4;
m_atol = 0.0;
}
else {
m_rtol = 1e-10;
m_rtol = 1e-8;
m_atol = 0.0;
}

Expand Down

0 comments on commit ef13ba1

Please sign in to comment.