From 94a1230e6e8033b75f91f7cecfb9f16878508da7 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Mon, 27 Mar 2017 16:55:00 +0200 Subject: Fix compile error --- tests/test_FanFlatProjectionGeometry2D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_FanFlatProjectionGeometry2D.cpp b/tests/test_FanFlatProjectionGeometry2D.cpp index b7c5601..9980bad 100644 --- a/tests/test_FanFlatProjectionGeometry2D.cpp +++ b/tests/test_FanFlatProjectionGeometry2D.cpp @@ -81,7 +81,7 @@ BOOST_AUTO_TEST_CASE( testFanFlatProjectionGeometry2D_Offsets ) float t, theta; geom.getRayParams(0, 2, t, theta); - BOOST_CHECK_SMALL( tan(theta) + 0.25f, astra::eps ); + BOOST_CHECK_SMALL( tan(theta) + 0.25f, (double)astra::eps ); BOOST_CHECK_SMALL( 17.0f*t*t - 1.0f, astra::eps ); // TODO: add test with large angle -- cgit v1.2.3