mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Rationalize the use of Index type in iterators
This commit is contained in:
@@ -111,6 +111,7 @@ template<typename Lhs, typename Rhs, bool Transpose>
|
||||
class SparseDenseOuterProduct<Lhs,Rhs,Transpose>::InnerIterator : public _LhsNested::InnerIterator
|
||||
{
|
||||
typedef typename _LhsNested::InnerIterator Base;
|
||||
typedef typename SparseDenseOuterProduct::Index Index;
|
||||
public:
|
||||
EIGEN_STRONG_INLINE InnerIterator(const SparseDenseOuterProduct& prod, Index outer)
|
||||
: Base(prod.lhs(), 0), m_outer(outer), m_factor(prod.rhs().coeff(outer))
|
||||
|
||||
Reference in New Issue
Block a user