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. --- unsupported/test/sparse_extra.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'unsupported/test/sparse_extra.cpp') diff --git a/unsupported/test/sparse_extra.cpp b/unsupported/test/sparse_extra.cpp index fa6dc50f5..6cf1f50c4 100644 --- a/unsupported/test/sparse_extra.cpp +++ b/unsupported/test/sparse_extra.cpp @@ -61,8 +61,9 @@ bool test_random_setter(DynamicSparseMatrix& sm, const DenseType& ref, const template void sparse_extra(const SparseMatrixType& ref) { - const int rows = ref.rows(); - const int cols = ref.cols(); + typedef typename SparseMatrixType::Index Index; + const Index rows = ref.rows(); + const Index cols = ref.cols(); typedef typename SparseMatrixType::Scalar Scalar; enum { Flags = SparseMatrixType::Flags }; -- cgit v1.2.3