aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/svd_common.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-10-06 19:35:57 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-10-06 19:35:57 +0200
commitdbdd8b0883ebd1ebafeb21640d6e4bead1999565 (patch)
tree0b5b00f4f5bcc73e8a007e225053258fa78f5677 /test/svd_common.h
parentd44d432baa142fdbe17f9d3abeab2c7629e199b8 (diff)
D&C SVD: add scaling to avoid overflow, fix handling of fixed size matrices
Diffstat (limited to 'test/svd_common.h')
-rw-r--r--test/svd_common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/svd_common.h b/test/svd_common.h
index 4631939e5..b880efce5 100644
--- a/test/svd_common.h
+++ b/test/svd_common.h
@@ -301,7 +301,7 @@ void svd_underoverflow()
0, 5.60844e-313;
SVD_DEFAULT(Matrix2d) svd;
svd.compute(M,ComputeFullU|ComputeFullV);
- svd_check_full(M,svd);
+ CALL_SUBTEST( svd_check_full(M,svd) );
// Check all 2x2 matrices made with the following coefficients:
VectorXd value_set(9);
@@ -312,7 +312,7 @@ void svd_underoverflow()
{
M << value_set(id(0)), value_set(id(1)), value_set(id(2)), value_set(id(3));
svd.compute(M,ComputeFullU|ComputeFullV);
- svd_check_full(M,svd);
+ CALL_SUBTEST( svd_check_full(M,svd) );
id(k)++;
if(id(k)>=value_set.size())
@@ -336,7 +336,7 @@ void svd_underoverflow()
SVD_DEFAULT(Matrix3d) svd3;
svd3.compute(M3,ComputeFullU|ComputeFullV); // just check we don't loop indefinitely
- svd_check_full(M3,svd3);
+ CALL_SUBTEST( svd_check_full(M3,svd3) );
}
// void jacobisvd(const MatrixType& a = MatrixType(), bool pickrandom = true)