mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-04 11:03:30 +01:00
removes uneeded parentheses
This commit is contained in:
parent
c984fc3ecd
commit
8e7395f2c6
@ -43,7 +43,7 @@ namespace Detail {
|
||||
|
||||
friend bool operator == ( double lhs, Approx const& rhs ) {
|
||||
// Thanks to Richard Harris for his help refining this formula
|
||||
return fabs( lhs - rhs.m_value ) < rhs.m_epsilon * (rhs.m_scale + (std::max)( fabs(lhs), fabs(rhs.m_value) ) );
|
||||
return fabs( lhs - rhs.m_value ) < rhs.m_epsilon * (rhs.m_scale + std::max( fabs(lhs), fabs(rhs.m_value) ) );
|
||||
}
|
||||
|
||||
friend bool operator == ( Approx const& lhs, double rhs ) {
|
||||
|
Loading…
Reference in New Issue
Block a user