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 /unsupported | |
parent | 7e04d7db029866eab0ff7c2a752edb2905bff61f (diff) |
Clean source code and unit tests with respect to -Wunused-local-typedefs
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/Eigen/src/IterativeSolvers/GMRES.h | 1 | ||||
-rw-r--r-- | unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h | 1 | ||||
-rw-r--r-- | unsupported/test/matrix_function.cpp | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/unsupported/Eigen/src/IterativeSolvers/GMRES.h b/unsupported/Eigen/src/IterativeSolvers/GMRES.h index f82472159..073367506 100644 --- a/unsupported/Eigen/src/IterativeSolvers/GMRES.h +++ b/unsupported/Eigen/src/IterativeSolvers/GMRES.h @@ -61,7 +61,6 @@ bool gmres(const MatrixType & mat, const Rhs & rhs, Dest & x, const Precondition typedef typename Dest::RealScalar RealScalar; typedef typename Dest::Scalar Scalar; - typedef Matrix < RealScalar, Dynamic, 1 > RealVectorType; typedef Matrix < Scalar, Dynamic, 1 > VectorType; typedef Matrix < Scalar, Dynamic, Dynamic > FMatrixType; diff --git a/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h b/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h index 49fe6d77c..60584c523 100644 --- a/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +++ b/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h @@ -20,7 +20,6 @@ template<typename FunctorType> LevenbergMarquardtSpace::Status LevenbergMarquardt<FunctorType>::minimizeOneStep(FVectorType &x) { - typedef typename FunctorType::JacobianType JacobianType; using std::abs; using std::sqrt; RealScalar temp, temp1,temp2; diff --git a/unsupported/test/matrix_function.cpp b/unsupported/test/matrix_function.cpp index 0439c5a7d..3c76cfb65 100644 --- a/unsupported/test/matrix_function.cpp +++ b/unsupported/test/matrix_function.cpp @@ -110,7 +110,6 @@ void testMatrixLogarithm(const MatrixType& A) { typedef typename internal::traits<MatrixType>::Scalar Scalar; typedef typename NumTraits<Scalar>::Real RealScalar; - typedef std::complex<RealScalar> ComplexScalar; MatrixType scaledA; RealScalar maxImagPartOfSpectrum = A.eigenvalues().imag().cwiseAbs().maxCoeff(); |