mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Using LU decomposition with complete pivoting for better accuracy.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user