aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/ref.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2018-07-12 17:16:40 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2018-07-12 17:16:40 +0200
commit12e1ebb68b93b218a3553af67fee8535d79e857e (patch)
treebcaaf67b6ac5541f1d2a55357d4796c606fa0a3d /test/ref.cpp
parent63185be8b240ee1a9ef476af2fc06676d3d89fe0 (diff)
Remove local Index typedef from unit-tests
Diffstat (limited to 'test/ref.cpp')
-rw-r--r--test/ref.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/ref.cpp b/test/ref.cpp
index 9dd2c0449..704495aff 100644
--- a/test/ref.cpp
+++ b/test/ref.cpp
@@ -32,7 +32,6 @@
template<typename MatrixType> void ref_matrix(const MatrixType& m)
{
- typedef typename MatrixType::Index Index;
typedef typename MatrixType::Scalar Scalar;
typedef typename MatrixType::RealScalar RealScalar;
typedef Matrix<Scalar,Dynamic,Dynamic,MatrixType::Options> DynMatrixType;
@@ -80,7 +79,6 @@ template<typename MatrixType> void ref_matrix(const MatrixType& m)
template<typename VectorType> void ref_vector(const VectorType& m)
{
- typedef typename VectorType::Index Index;
typedef typename VectorType::Scalar Scalar;
typedef typename VectorType::RealScalar RealScalar;
typedef Matrix<Scalar,Dynamic,1,VectorType::Options> DynMatrixType;