Clean source code and unit tests with respect to -Wunused-local-typedefs

This commit is contained in:
Gael Guennebaud
2013-04-10 22:27:35 +02:00
parent 7e04d7db02
commit 899c0c2b6c
60 changed files with 3 additions and 114 deletions

View File

@@ -909,7 +909,6 @@ void set_from_triplets(const InputIterator& begin, const InputIterator& end, Spa
EIGEN_UNUSED_VARIABLE(Options);
enum { IsRowMajor = SparseMatrixType::IsRowMajor };
typedef typename SparseMatrixType::Scalar Scalar;
typedef typename SparseMatrixType::Index Index;
SparseMatrix<Scalar,IsRowMajor?ColMajor:RowMajor> trMat(mat.rows(),mat.cols());
// pass 1: count the nnz per inner-vector