mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Avoid static analysis warning in Approx
This commit is contained in:
parent
c4df47c246
commit
4d9bfb2951
@ -24,7 +24,7 @@ bool marginComparison(double lhs, double rhs, double margin) {
|
||||
namespace Catch {
|
||||
|
||||
Approx::Approx ( double value )
|
||||
: m_epsilon( std::numeric_limits<float>::epsilon()*100 ),
|
||||
: m_epsilon( std::numeric_limits<float>::epsilon()*100. ),
|
||||
m_margin( 0.0 ),
|
||||
m_scale( 0.0 ),
|
||||
m_value( value )
|
||||
|
Loading…
Reference in New Issue
Block a user