diff options
author | Jeff <complexzeros@gmail.com> | 2014-06-23 19:04:52 -0600 |
---|---|---|
committer | Jeff <complexzeros@gmail.com> | 2014-06-23 19:04:52 -0600 |
commit | b59f045c07a41e79df9e27cd56ce06642a7012e7 (patch) | |
tree | 99b07c7b9777d1ea0eb040273b3c512db13c1869 /unsupported/test/splines.cpp | |
parent | 957c2c291ba0e2d356584d833432a3314094dfee (diff) |
Using LU decomposition with complete pivoting for better accuracy.
Diffstat (limited to 'unsupported/test/splines.cpp')
-rw-r--r-- | unsupported/test/splines.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |