From dec09a618d55869c37c9397ea886707aaa316060 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 4 May 2009 13:01:23 +0000 Subject: [PATCH] fix warning, unused variable dummy --- Eigen/src/Core/Matrix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h index dfb0aa0f9..3812ea56b 100644 --- a/Eigen/src/Core/Matrix.h +++ b/Eigen/src/Core/Matrix.h @@ -520,14 +520,14 @@ class Matrix template - EIGEN_STRONG_INLINE void _init2(int rows, int cols, typename ei_enable_if::type* dummy = 0) + EIGEN_STRONG_INLINE void _init2(int rows, int cols, typename ei_enable_if::type* = 0) { ei_assert(rows > 0 && (RowsAtCompileTime == Dynamic || RowsAtCompileTime == rows) && cols > 0 && (ColsAtCompileTime == Dynamic || ColsAtCompileTime == cols)); m_storage.resize(rows*cols,rows,cols); } template - EIGEN_STRONG_INLINE void _init2(const Scalar& x, const Scalar& y, typename ei_enable_if::type* dummy = 0) + EIGEN_STRONG_INLINE void _init2(const Scalar& x, const Scalar& y, typename ei_enable_if::type* = 0) { EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(Matrix, 2) m_storage.data()[0] = x;