From f1687631c42accef17214bd0cbc46029ed8a1b31 Mon Sep 17 00:00:00 2001 From: Andreas Schenk <andreas_schenk@hms.harvard.edu> Date: Thu, 8 Dec 2011 11:23:43 -0500 Subject: [PATCH] changed baseline value for test image in img io tests to expose more rounding errors on old machines --- modules/io/tests/test_io_img.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/io/tests/test_io_img.cc b/modules/io/tests/test_io_img.cc index 269228f17..d9116842a 100644 --- a/modules/io/tests/test_io_img.cc +++ b/modules/io/tests/test_io_img.cc @@ -52,7 +52,7 @@ BOOST_AUTO_TEST_CASE(test_io_img) for (img::ExtentIterator i(testimage.GetExtent()); !i.AtEnd(); ++i, ++counter) { testimage.SetReal(i, counter); } - testimage+=0.01; //if all values are > 0.0 we can use close_at_tolerance + testimage+=5.01; //if all values are > 0.0 we can use close_at_tolerance const String fname("temp_img.tmp"); std::map<String,ImageFormatBase*> float_formats; float_formats["DX"]=new DX; -- GitLab