Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / math / test / test_vector_barycentric_rational.cpp
index 6250fa8..ccfaa3b 100644 (file)
@@ -14,7 +14,7 @@
 #include <boost/random/uniform_real_distribution.hpp>
 #include <boost/type_index.hpp>
 #include <boost/test/included/unit_test.hpp>
-#include <boost/test/floating_point_comparison.hpp>
+#include <boost/test/tools/floating_point_comparison.hpp>
 #include <boost/math/interpolators/barycentric_rational.hpp>
 #include <boost/math/interpolators/vector_barycentric_rational.hpp>
 
@@ -66,8 +66,8 @@ void test_agreement_with_1d()
     {
         Real t = dis2(gen);
         interpolator(z, t);
-        BOOST_CHECK_CLOSE(z[0], scalar_interpolator0(t), 2*numeric_limits<Real>::epsilon());
-        BOOST_CHECK_CLOSE(z[1], scalar_interpolator1(t), 2*numeric_limits<Real>::epsilon());
+        BOOST_CHECK_CLOSE(z[0], scalar_interpolator0(t), 10000*numeric_limits<Real>::epsilon());
+        BOOST_CHECK_CLOSE(z[1], scalar_interpolator1(t), 10000*numeric_limits<Real>::epsilon());
     }
 }