diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-04-10 22:27:35 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-04-10 22:27:35 +0200 |
commit | 899c0c2b6c723b4b6e324fd8c157e53039c54f67 (patch) | |
tree | 3ec9470328f8597a03f3ac8a33d3c12c04c0a326 /test/lu.cpp | |
parent | 7e04d7db029866eab0ff7c2a752edb2905bff61f (diff) |
Clean source code and unit tests with respect to -Wunused-local-typedefs
Diffstat (limited to 'test/lu.cpp')
-rw-r--r-- | test/lu.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/lu.cpp b/test/lu.cpp index 6cbcb0a95..25f86755a 100644 --- a/test/lu.cpp +++ b/test/lu.cpp @@ -14,7 +14,6 @@ using namespace std; template<typename MatrixType> void lu_non_invertible() { typedef typename MatrixType::Index Index; - typedef typename MatrixType::Scalar Scalar; typedef typename MatrixType::RealScalar RealScalar; /* this test covers the following files: LU.h @@ -100,7 +99,6 @@ template<typename MatrixType> void lu_invertible() /* this test covers the following files: LU.h */ - typedef typename MatrixType::Scalar Scalar; typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar; int size = internal::random<int>(1,EIGEN_TEST_MAX_SIZE); @@ -132,8 +130,6 @@ template<typename MatrixType> void lu_partial_piv() PartialPivLU.h */ typedef typename MatrixType::Index Index; - typedef typename MatrixType::Scalar Scalar; - typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar; Index rows = internal::random<Index>(1,4); Index cols = rows; |