aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/inverse.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2018-04-04 15:47:46 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2018-04-04 15:47:46 +0200
commit2f833b1c6438fb379e05f12e3111c30c0b2f3416 (patch)
tree053cb83d8d20c41e725cbc91a2e6abe653d256ad /test/inverse.cpp
parentb903fa74fdaad01dbf87233d03deb3b69624ae5b (diff)
bug #1509: fix computeInverseWithCheck for complexes
Diffstat (limited to 'test/inverse.cpp')
-rw-r--r--test/inverse.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/inverse.cpp b/test/inverse.cpp
index 5c6777a18..97fe6ff92 100644
--- a/test/inverse.cpp
+++ b/test/inverse.cpp
@@ -47,7 +47,7 @@ template<typename MatrixType> void inverse(const MatrixType& m)
//computeInverseAndDetWithCheck tests
//First: an invertible matrix
bool invertible;
- RealScalar det;
+ Scalar det;
m2.setZero();
m1.computeInverseAndDetWithCheck(m2, det, invertible);
@@ -113,5 +113,7 @@ void test_inverse()
CALL_SUBTEST_7( inverse(Matrix4d()) );
CALL_SUBTEST_7( inverse(Matrix<double,4,4,DontAlign>()) );
+
+ CALL_SUBTEST_8( inverse(Matrix4cd()) );
}
}