aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/DiagonalMatrix.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/DiagonalMatrix.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/DiagonalMatrix.h')
-rw-r--r--Eigen/src/Core/DiagonalMatrix.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Eigen/src/Core/DiagonalMatrix.h b/Eigen/src/Core/DiagonalMatrix.h
index 67f10cfb7..99245b750 100644
--- a/Eigen/src/Core/DiagonalMatrix.h
+++ b/Eigen/src/Core/DiagonalMatrix.h
@@ -51,15 +51,15 @@ class DiagonalMatrix : NoOperatorEquals,
DiagonalMatrix(const CoeffsVecRef& coeffs) : m_coeffs(coeffs)
{
- assert(CoeffsVectorType::IsVectorAtCompileTime
+ assert(CoeffsVectorType::Traits::IsVectorAtCompileTime
&& coeffs.size() > 0);
}
- private:
- static const TraversalOrder _Order = Indifferent;
- static const int _RowsAtCompileTime = CoeffsVectorType::SizeAtCompileTime,
- _ColsAtCompileTime = CoeffsVectorType::SizeAtCompileTime;
+ static const TraversalOrder Order = Indifferent;
+ static const int RowsAtCompileTime = CoeffsVectorType::Traits::SizeAtCompileTime,
+ ColsAtCompileTime = CoeffsVectorType::Traits::SizeAtCompileTime;
+ private:
const DiagonalMatrix& _ref() const { return *this; }
int _rows() const { return m_coeffs.size(); }
int _cols() const { return m_coeffs.size(); }