Commit 7501951b authored by Steve T's avatar Steve T
Browse files

macro bug fix

parent 2a92082f
......@@ -25,7 +25,7 @@ void compDouble(const double a, const double b)
{
#if BOOST_VERSION <= 105800
BOOST_CHECK(std::abs(a-b) <= 0.001);
#elif
#else
BOOST_TEST(a == b, boost::test_tools::tolerance(0.001));
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment