aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Conjugate.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-01-10 20:45:35 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-01-10 20:45:35 +0000
commit45a4b61b5fd6dab699f75e62dcf891d3faaf8384 (patch)
tree2eb2a5343a2174283c3a1569a09cae2951c559ba /Eigen/src/Core/Conjugate.h
parent209cf7c91f4276ca666509d2613ae0e71d4e76a8 (diff)
switch to enums everywhere
Diffstat (limited to 'Eigen/src/Core/Conjugate.h')
-rw-r--r--Eigen/src/Core/Conjugate.h6
1 files changed, 4 insertions, 2 deletions
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<typename MatrixType> 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(); }