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:
@@ -60,7 +60,6 @@ template<typename MatrixType>
|
||||
typename Eigen::internal::enable_if<NumTraits<typename MatrixType::Scalar>::IsInteger,typename MatrixType::Scalar>::type
|
||||
cwiseops_real_only(MatrixType& , MatrixType& , MatrixType& , MatrixType& )
|
||||
{
|
||||
typedef typename MatrixType::Scalar Scalar;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -68,7 +67,6 @@ template<typename MatrixType> void cwiseops(const MatrixType& m)
|
||||
{
|
||||
typedef typename MatrixType::Index Index;
|
||||
typedef typename MatrixType::Scalar Scalar;
|
||||
typedef typename NumTraits<Scalar>::Real RealScalar;
|
||||
typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
|
||||
|
||||
Index rows = m.rows();
|
||||
|
||||
Reference in New Issue
Block a user