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

@@ -57,7 +57,6 @@ template<typename MatrixType,template <typename,int> class CholType> void test_c
template<typename MatrixType> void cholesky(const MatrixType& m)
{
typedef typename MatrixType::Index Index;
/* this test covers the following files:
LLT.h LDLT.h
*/
@@ -289,8 +288,6 @@ template<typename MatrixType> void cholesky_cplx(const MatrixType& m)
// test mixing real/scalar types
typedef typename MatrixType::Index Index;
Index rows = m.rows();
Index cols = m.cols();