mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-30 18:25:11 +08:00
Ups - again a missing typename.
This commit is contained in:
parent
fc20e6fd55
commit
0e5a232dae
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user