From 899c0c2b6c723b4b6e324fd8c157e53039c54f67 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 10 Apr 2013 22:27:35 +0200 Subject: Clean source code and unit tests with respect to -Wunused-local-typedefs --- test/lu.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/lu.cpp') 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 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 void lu_invertible() /* this test covers the following files: LU.h */ - typedef typename MatrixType::Scalar Scalar; typedef typename NumTraits::Real RealScalar; int size = internal::random(1,EIGEN_TEST_MAX_SIZE); @@ -132,8 +130,6 @@ template void lu_partial_piv() PartialPivLU.h */ typedef typename MatrixType::Index Index; - typedef typename MatrixType::Scalar Scalar; - typedef typename NumTraits::Real RealScalar; Index rows = internal::random(1,4); Index cols = rows; -- cgit v1.2.3