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/mapstride.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/mapstride.cpp') diff --git a/test/mapstride.cpp b/test/mapstride.cpp index 7a1605681..ff6e71a66 100644 --- a/test/mapstride.cpp +++ b/test/mapstride.cpp @@ -61,9 +61,10 @@ template void map_class_vector(const VectorType& m) template void map_class_matrix(const MatrixType& _m) { + typedef typename MatrixType::Index Index; typedef typename MatrixType::Scalar Scalar; - int rows = _m.rows(), cols = _m.cols(); + Index rows = _m.rows(), cols = _m.cols(); MatrixType m = MatrixType::Random(rows,cols); -- cgit v1.2.3