fixed a bug in the DenseBase InnerIterator ctor.

This commit is contained in:
Daniel Lowengrub 2010-06-14 02:18:36 +03:00
parent dcd39a96e1
commit af5117dbd5

View File

@ -43,7 +43,7 @@ template<typename Derived> class DenseBase<Derived>::InnerIterator
enum { IsRowMajor = (Derived::Flags&RowMajorBit)==RowMajorBit };
public:
EIGEN_STRONG_INLINE InnerIterator(const Derived& expr, Index outer)
: m_expression(expr), m_inner(0), m_outer(outer), m_end(expr.rows())
: m_expression(expr), m_inner(0), m_outer(outer), m_end(expr.innerSize())
{}
EIGEN_STRONG_INLINE Scalar value() const