diff --git a/Eigen/src/Core/DenseStorage.h b/Eigen/src/Core/DenseStorage.h index 2b95077e8..4f8a2b65e 100644 --- a/Eigen/src/Core/DenseStorage.h +++ b/Eigen/src/Core/DenseStorage.h @@ -353,11 +353,11 @@ class DenseStorage { } EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows(void) const EIGEN_NOEXCEPT {return m_rows;} EIGEN_DEVICE_FUNC static EIGEN_CONSTEXPR Index cols(void) EIGEN_NOEXCEPT {return Cols_;} - EIGEN_DEVICE_FUNC void conservativeResize(Index, Index rows, Index cols) { + EIGEN_DEVICE_FUNC void conservativeResize(Index, Index rows, Index) { m_rows = rows; eigen_assert(m_rows * Cols_ == 0 && "The number of rows times columns must equal the storage size."); } - EIGEN_DEVICE_FUNC void resize(Index, Index rows, Index cols) { + EIGEN_DEVICE_FUNC void resize(Index, Index rows, Index) { m_rows = rows; eigen_assert(m_rows * Cols_ == 0 && "The number of rows times columns must equal the storage size."); }