From 45a4b61b5fd6dab699f75e62dcf891d3faaf8384 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Thu, 10 Jan 2008 20:45:35 +0000 Subject: switch to enums everywhere --- Eigen/src/Core/Conjugate.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Eigen/src/Core/Conjugate.h') diff --git a/Eigen/src/Core/Conjugate.h b/Eigen/src/Core/Conjugate.h index 48423e0b1..e99ca547c 100644 --- a/Eigen/src/Core/Conjugate.h +++ b/Eigen/src/Core/Conjugate.h @@ -49,8 +49,10 @@ template class Conjugate : NoOperatorEquals, Conjugate(const MatRef& matrix) : m_matrix(matrix) {} private: - static const int RowsAtCompileTime = MatrixType::Traits::RowsAtCompileTime, - ColsAtCompileTime = MatrixType::Traits::ColsAtCompileTime; + enum { + RowsAtCompileTime = MatrixType::Traits::RowsAtCompileTime, + ColsAtCompileTime = MatrixType::Traits::ColsAtCompileTime + }; const Conjugate& _ref() const { return *this; } int _rows() const { return m_matrix.rows(); } -- cgit v1.2.3