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/nullary.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/nullary.cpp') diff --git a/test/nullary.cpp b/test/nullary.cpp index 6e91ddd52..d46349991 100644 --- a/test/nullary.cpp +++ b/test/nullary.cpp @@ -97,8 +97,9 @@ void testVectorType(const VectorType& base) template void testMatrixType(const MatrixType& m) { - const int rows = m.rows(); - const int cols = m.cols(); + typedef typename MatrixType::Index Index; + const Index rows = m.rows(); + const Index cols = m.cols(); MatrixType A; A.setIdentity(rows, cols); -- cgit v1.2.3