diff --git a/test/algorithms/expand_on_spheroid.cpp b/test/algorithms/expand_on_spheroid.cpp index 8199fe842..98db446ad 100644 --- a/test/algorithms/expand_on_spheroid.cpp +++ b/test/algorithms/expand_on_spheroid.cpp @@ -616,7 +616,8 @@ BOOST_AUTO_TEST_CASE( expand_segment ) tester::apply("s03", from_wkt("BOX(5 5,50 10)"), from_wkt("SEGMENT(40 10,10 10)"), - 5, 5, 50, 10.34527004614999); + 5, 5, 50, 10.34527004614999, + 4.0 * std::numeric_limits::epsilon()); // segment ending at the north pole tester::apply("s04",