make floating point number literal a float

This commit is contained in:
Dennis Luxen 2015-01-16 17:21:02 +01:00
parent 7ba9b97afc
commit f3bc1ed3a9

View File

@ -15,6 +15,6 @@ BOOST_AUTO_TEST_CASE(regression_test_1347)
FixedPointCoordinate nearest_location;
float d2 = FixedPointCoordinate::ComputePerpendicularDistance(u, v, q, nearest_location, ratio);
BOOST_CHECK_LE(std::abs(d1 - d2), 0.01);
BOOST_CHECK_LE(std::abs(d1 - d2), 0.01f);
}