From fc202bab398ed9b78ef8452f8e4ef35e233965f6 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 13 Feb 2015 18:57:41 +0100 Subject: Index refactoring: StorageIndex must be used for storage only (and locally when it make sense). In all other cases use the global Index type. --- test/nullary.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'test/nullary.cpp') diff --git a/test/nullary.cpp b/test/nullary.cpp index 8344855df..2c148e205 100644 --- a/test/nullary.cpp +++ b/test/nullary.cpp @@ -12,7 +12,6 @@ template bool equalsIdentity(const MatrixType& A) { - typedef typename MatrixType::Index Index; typedef typename MatrixType::Scalar Scalar; Scalar zero = static_cast(0); @@ -35,7 +34,6 @@ bool equalsIdentity(const MatrixType& A) template void testVectorType(const VectorType& base) { - typedef typename VectorType::Index Index; typedef typename VectorType::Scalar Scalar; const Index size = base.size(); @@ -104,7 +102,6 @@ void testVectorType(const VectorType& base) template void testMatrixType(const MatrixType& m) { - typedef typename MatrixType::Index Index; const Index rows = m.rows(); const Index cols = m.cols(); -- cgit v1.2.3