aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Sum.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-01-06 13:17:07 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-01-06 13:17:07 +0000
commit495eb7053ab7101f714718332399d51b10645b8b (patch)
treec835f693522b380b53563e0c0fe870b27e5fb9a4 /Eigen/src/Core/Sum.h
parentd1d55e67e967a9bd0d447a7ea105ac2771cde557 (diff)
Patch by Gael Guennebaud, making Eigen compatible with the Intel compiler (icc).
CCMAIL:eigen@lists.tuxfamily.org
Diffstat (limited to 'Eigen/src/Core/Sum.h')
-rw-r--r--Eigen/src/Core/Sum.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/Core/Sum.h b/Eigen/src/Core/Sum.h
index 453033673..a566077dd 100644
--- a/Eigen/src/Core/Sum.h
+++ b/Eigen/src/Core/Sum.h
@@ -41,11 +41,11 @@ template<typename Lhs, typename Rhs> class Sum : NoOperatorEquals,
assert(lhs.rows() == rhs.rows() && lhs.cols() == rhs.cols());
}
- private:
- static const TraversalOrder _Order = Lhs::Order;
- static const int _RowsAtCompileTime = Lhs::RowsAtCompileTime,
- _ColsAtCompileTime = Rhs::ColsAtCompileTime;
+ static const TraversalOrder Order = Lhs::Order;
+ static const int RowsAtCompileTime = Lhs::RowsAtCompileTime,
+ ColsAtCompileTime = Rhs::ColsAtCompileTime;
+ private:
const Sum& _ref() const { return *this; }
int _rows() const { return m_lhs.rows(); }
int _cols() const { return m_lhs.cols(); }