From f1679c7185471289afaf702a45e336849d20a81a Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Sun, 20 Jun 2010 17:37:56 +0200 Subject: Utilize Index in all unit tests. --- test/cholesky.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/cholesky.cpp') 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 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::Real RealScalar; -- cgit v1.2.3