diff options
author | Sven Gothel <[email protected]> | 2020-09-28 23:45:07 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-09-28 23:45:07 +0200 |
commit | 473aaae3080d859c22c640bbb903249f4fe007b7 (patch) | |
tree | 98e10bb91ad8facf455dc25d1baa8b2563c96567 /include/cppunit | |
parent | 6653ce757add3cc732e84d7cd59f15472c57a044 (diff) |
Make clang++ 9.0 happy (no warnings)
Diffstat (limited to 'include/cppunit')
-rw-r--r-- | include/cppunit/cppunit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cppunit/cppunit.h b/include/cppunit/cppunit.h index fb1c9ecf..09c60fb4 100644 --- a/include/cppunit/cppunit.h +++ b/include/cppunit/cppunit.h @@ -100,7 +100,7 @@ template<> void Cppunit::checkDelta<float>(cs m, float a, float b, float epsilon } template<> void Cppunit::checkDelta<double>(cs m, double a, double b, double epsilon, cs stra, cs strb, cs file, int line, cs func) { - checks++; if ( fabsf( a - b ) < epsilon ) { std::cout << "."; return; } + checks++; if ( fabs( a - b ) < epsilon ) { std::cout << "."; return; } fails++; std::cout << "F"; fail_hdr(stra, strb, file, line, func); serr << " Error: " << m << ": \"" << a << "\" ! = \"" << b << "\" (epsilon " << epsilon << ")" << std::endl << std::endl; } |