summaryrefslogtreecommitdiffstats
path: root/tests/test_FanFlatProjectionGeometry2D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_FanFlatProjectionGeometry2D.cpp')
-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 6b14b18..29e8a99 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, (double)astra::eps );
+ BOOST_CHECK_SMALL( tan(theta) + 0.25, (double)astra::eps );
BOOST_CHECK_SMALL( 17.0f*t*t - 1.0f, astra::eps );
// TODO: add test with large angle