Fix shadowing typedefs

This commit is contained in:
Christoph Hertzberg
2018-09-07 16:34:04 +02:00
parent 1eef23a1eb
commit 718e954df4
59 changed files with 0 additions and 96 deletions

View File

@@ -12,7 +12,6 @@
template<typename MatrixType> void matrixVisitor(const MatrixType& p)
{
typedef typename MatrixType::Scalar Scalar;
typedef typename MatrixType::Index Index;
Index rows = p.rows();
Index cols = p.cols();
@@ -65,7 +64,6 @@ template<typename MatrixType> void matrixVisitor(const MatrixType& p)
template<typename VectorType> void vectorVisitor(const VectorType& w)
{
typedef typename VectorType::Scalar Scalar;
typedef typename VectorType::Index Index;
Index size = w.size();