Ups - again a missing typename.

This commit is contained in:
Hauke Heibel 2010-03-14 11:58:44 +01:00
parent fc20e6fd55
commit 0e5a232dae

View File

@ -123,14 +123,14 @@ class CwiseBinaryOp : ei_no_assignment_operator,
EIGEN_STRONG_INLINE int rows() const { EIGEN_STRONG_INLINE int rows() const {
// return the fixed size type if available to enable compile time optimizations // 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(); return m_rhs.rows();
else else
return m_lhs.rows(); return m_lhs.rows();
} }
EIGEN_STRONG_INLINE int cols() const { EIGEN_STRONG_INLINE int cols() const {
// return the fixed size type if available to enable compile time optimizations // 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(); return m_rhs.cols();
else else
return m_lhs.cols(); return m_lhs.cols();