summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_FanFlatProjectionGeometry2D.cpp2
1 files changed, 1 insertions, 1 deletions
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