aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/CwiseBinaryOp.h
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-03-14 11:58:44 +0100
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-03-14 11:58:44 +0100
commit0e5a232dae3e503279c31ad5ab8f2ab85f171b08 (patch)
tree5c7ddf01810186578d8c01b739d681b747fb5c6b /Eigen/src/Core/CwiseBinaryOp.h
parentfc20e6fd5579bd88d519083037376bd1f96781cd (diff)
Ups - again a missing typename.
Diffstat (limited to 'Eigen/src/Core/CwiseBinaryOp.h')
-rw-r--r--Eigen/src/Core/CwiseBinaryOp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/CwiseBinaryOp.h b/Eigen/src/Core/CwiseBinaryOp.h
index fc455350c..df13d3aad 100644
--- a/Eigen/src/Core/CwiseBinaryOp.h
+++ b/Eigen/src/Core/CwiseBinaryOp.h
@@ -123,14 +123,14 @@ class CwiseBinaryOp : ei_no_assignment_operator,
EIGEN_STRONG_INLINE int rows() const {
// return the fixed size type if available to enable compile time optimizations
- if (ei_traits<ei_cleantype<LhsNested>::type>::RowsAtCompileTime==Dynamic)
+ if (ei_traits<typename ei_cleantype<LhsNested>::type>::RowsAtCompileTime==Dynamic)
return m_rhs.rows();
else
return m_lhs.rows();
}
EIGEN_STRONG_INLINE int cols() const {
// return the fixed size type if available to enable compile time optimizations
- if (ei_traits<ei_cleantype<LhsNested>::type>::ColsAtCompileTime==Dynamic)
+ if (ei_traits<typename ei_cleantype<LhsNested>::type>::ColsAtCompileTime==Dynamic)
return m_rhs.cols();
else
return m_lhs.cols();