aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/integer_types.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/integer_types.cpp
parent63185be8b240ee1a9ef476af2fc06676d3d89fe0 (diff)
Remove local Index typedef from unit-tests
Diffstat (limited to 'test/integer_types.cpp')
-rw-r--r--test/integer_types.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/integer_types.cpp b/test/integer_types.cpp
index 25126315a..36295598f 100644
--- a/test/integer_types.cpp
+++ b/test/integer_types.cpp
@@ -18,7 +18,6 @@
template<typename MatrixType> void signed_integer_type_tests(const MatrixType& m)
{
- typedef typename MatrixType::Index Index;
typedef typename MatrixType::Scalar Scalar;
enum { is_signed = (Scalar(-1) > Scalar(0)) ? 0 : 1 };
@@ -49,7 +48,6 @@ template<typename MatrixType> void signed_integer_type_tests(const MatrixType& m
template<typename MatrixType> void integer_type_tests(const MatrixType& m)
{
- typedef typename MatrixType::Index Index;
typedef typename MatrixType::Scalar Scalar;
VERIFY(NumTraits<Scalar>::IsInteger);