aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/inverse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/inverse.cpp')
-rw-r--r--test/inverse.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/inverse.cpp b/test/inverse.cpp
index 108ce7bcb..f050980ff 100644
--- a/test/inverse.cpp
+++ b/test/inverse.cpp
@@ -28,11 +28,12 @@
template<typename MatrixType> void inverse(const MatrixType& m)
{
+ typedef typename MatrixType::Index Index;
/* this test covers the following files:
Inverse.h
*/
- int rows = m.rows();
- int cols = m.cols();
+ Index rows = m.rows();
+ Index cols = m.cols();
typedef typename MatrixType::Scalar Scalar;
typedef typename NumTraits<Scalar>::Real RealScalar;