diff options
Diffstat (limited to 'test/cholesky.cpp')
-rw-r--r-- | test/cholesky.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/cholesky.cpp b/test/cholesky.cpp index 54ff94f32..a178b82b6 100644 --- a/test/cholesky.cpp +++ b/test/cholesky.cpp @@ -47,11 +47,12 @@ static int nb_temporaries; template<typename MatrixType> void cholesky(const MatrixType& m) { + typedef typename MatrixType::Index Index; /* this test covers the following files: LLT.h LDLT.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; |