From b59f045c07a41e79df9e27cd56ce06642a7012e7 Mon Sep 17 00:00:00 2001 From: Jeff Date: Mon, 23 Jun 2014 19:04:52 -0600 Subject: Using LU decomposition with complete pivoting for better accuracy. --- unsupported/test/splines.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/test/splines.cpp') diff --git a/unsupported/test/splines.cpp b/unsupported/test/splines.cpp index 1f3856143..755a21ece 100644 --- a/unsupported/test/splines.cpp +++ b/unsupported/test/splines.cpp @@ -261,7 +261,7 @@ void check_global_interpolation_with_derivatives2d() { PointType point = spline(knots(i)); PointType referencePoint = points.col(i); - VERIFY((point - referencePoint).matrix().norm() < 1e-12); + VERIFY((point - referencePoint).matrix().norm() < 1e-10); PointType derivative = spline.derivatives(knots(i), 1).col(1); PointType referenceDerivative = derivatives.col(i); VERIFY((derivative - referenceDerivative).matrix().norm() < 1e-10); -- cgit v1.2.3