Skip to content
Snippets Groups Projects
Unverified Commit 4d9bfb29 authored by Martin Hořeňovský's avatar Martin Hořeňovský
Browse files

Avoid static analysis warning in Approx

parent c4df47c2
Branches
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ bool marginComparison(double lhs, double rhs, double margin) { ...@@ -24,7 +24,7 @@ bool marginComparison(double lhs, double rhs, double margin) {
namespace Catch { namespace Catch {
Approx::Approx ( double value ) 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_margin( 0.0 ),
m_scale( 0.0 ), m_scale( 0.0 ),
m_value( value ) m_value( value )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment