mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Clean source code and unit tests with respect to -Wunused-local-typedefs
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user