diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-02-13 18:57:41 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-02-13 18:57:41 +0100 |
commit | fc202bab398ed9b78ef8452f8e4ef35e233965f6 (patch) | |
tree | f0f427ee115aa8579b0d43a49c2ad762b1b0f57c /test/nullary.cpp | |
parent | fe513199808654bfa5080fe16bda7dcdafbd57c6 (diff) |
Index refactoring: StorageIndex must be used for storage only (and locally when it make sense). In all other cases use the global Index type.
Diffstat (limited to 'test/nullary.cpp')
-rw-r--r-- | test/nullary.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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<typename MatrixType> bool equalsIdentity(const MatrixType& A) { - typedef typename MatrixType::Index Index; typedef typename MatrixType::Scalar Scalar; Scalar zero = static_cast<Scalar>(0); @@ -35,7 +34,6 @@ bool equalsIdentity(const MatrixType& A) template<typename VectorType> 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<typename MatrixType> void testMatrixType(const MatrixType& m) { - typedef typename MatrixType::Index Index; const Index rows = m.rows(); const Index cols = m.cols(); |