From 12e1ebb68b93b218a3553af67fee8535d79e857e Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 12 Jul 2018 17:16:40 +0200 Subject: Remove local Index typedef from unit-tests --- test/block.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'test/block.cpp') diff --git a/test/block.cpp b/test/block.cpp index 0c1d2b7b8..a45dd501d 100644 --- a/test/block.cpp +++ b/test/block.cpp @@ -39,7 +39,6 @@ is_same_block(const T1& a, const T2& b) template void block(const MatrixType& m) { - typedef typename MatrixType::Index Index; typedef typename MatrixType::Scalar Scalar; typedef typename MatrixType::RealScalar RealScalar; typedef Matrix VectorType; @@ -227,7 +226,6 @@ template void block(const MatrixType& m) template void compare_using_data_and_stride(const MatrixType& m) { - typedef typename MatrixType::Index Index; Index rows = m.rows(); Index cols = m.cols(); Index size = m.size(); @@ -261,7 +259,6 @@ void compare_using_data_and_stride(const MatrixType& m) template void data_and_stride(const MatrixType& m) { - typedef typename MatrixType::Index Index; Index rows = m.rows(); Index cols = m.cols(); -- cgit v1.2.3