summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-03-27 16:55:00 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-03-27 16:55:00 +0200
commit94a1230e6e8033b75f91f7cecfb9f16878508da7 (patch)
treee451855fb292449285953ee240c188808c653733
parent53eea5892cd1d51f802533adb9ea94e04b4ce86b (diff)
downloadastra-94a1230e6e8033b75f91f7cecfb9f16878508da7.tar.gz
astra-94a1230e6e8033b75f91f7cecfb9f16878508da7.tar.bz2
astra-94a1230e6e8033b75f91f7cecfb9f16878508da7.tar.xz
astra-94a1230e6e8033b75f91f7cecfb9f16878508da7.zip
Fix compile error
-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