Remove local Index typedef from unit-tests

This commit is contained in:
Gael Guennebaud
2018-07-12 17:16:40 +02:00
parent 63185be8b2
commit 12e1ebb68b
65 changed files with 22 additions and 117 deletions

View File

@@ -69,7 +69,6 @@ struct mapstaticmethods_impl<PlainObjectType, true, false>
{
static void run(const PlainObjectType& m)
{
typedef typename PlainObjectType::Index Index;
Index rows = m.rows(), cols = m.cols();
int i = internal::random<int>(2,5), j = internal::random<int>(2,5);
@@ -116,7 +115,6 @@ struct mapstaticmethods_impl<PlainObjectType, true, true>
{
static void run(const PlainObjectType& v)
{
typedef typename PlainObjectType::Index Index;
Index size = v.size();
int i = internal::random<int>(2,5);