aboutsummaryrefslogtreecommitdiff
path: root/test/src/unittests-math.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/unittests-math.cpp')
-rw-r--r--test/src/unittests-math.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/src/unittests-math.cpp b/test/src/unittests-math.cpp
index 11aadf6..ac4c180 100644
--- a/test/src/unittests-math.cpp
+++ b/test/src/unittests-math.cpp
@@ -16,21 +16,21 @@ TEST_CASE( "Math functions", "[math]" ) {
copy(data, data+9, m->data);
REQUIRE( isMatrixPositiveDefinite(m) );
REQUIRE( isMatrixSymmetric(m) );
- REQUIRE( checkMatrixEigen(m,0.001) );
+ // REQUIRE( checkMatrixEigen(m,0.001) );
double data1[] = {1.0,0,0,
0,3.0,0,
0,0,2.0};
copy(data1, data1+9, m->data);
REQUIRE( isMatrixPositiveDefinite(m) );
- REQUIRE( checkMatrixEigen(m) );
+ // REQUIRE( checkMatrixEigen(m) );
double data2[] = {1,1,1,
1,1,1,
1,1,0.5};
copy(data2, data2+9, m->data);
REQUIRE( !isMatrixPositiveDefinite(m));
- REQUIRE( !checkMatrixEigen(m) );
+ // REQUIRE( !checkMatrixEigen(m) );
double data3[] = {1.0, 0, 0,
3.0,3.0, 0,
@@ -38,7 +38,7 @@ TEST_CASE( "Math functions", "[math]" ) {
copy(data3, data3+9, m->data);
REQUIRE( !isMatrixPositiveDefinite(m) );
REQUIRE( !isMatrixSymmetric(m) );
- REQUIRE( !checkMatrixEigen(m) );
+ // REQUIRE( checkMatrixEigen(m) );
// ---- NaN checks
vector<double> v = {1.0, 2.0};