From 71362674613a552fd157e175aabfc0e85877bebd Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 27 Dec 2016 16:34:30 +0100 Subject: Add missing .outer() member to iterators of evaluators of cwise sparse binary expression --- Eigen/src/SparseCore/SparseCwiseBinaryOp.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Eigen/src/SparseCore') diff --git a/Eigen/src/SparseCore/SparseCwiseBinaryOp.h b/Eigen/src/SparseCore/SparseCwiseBinaryOp.h index f65b009d7..526c7121b 100644 --- a/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +++ b/Eigen/src/SparseCore/SparseCwiseBinaryOp.h @@ -110,6 +110,7 @@ public: EIGEN_STRONG_INLINE Scalar value() const { return m_value; } EIGEN_STRONG_INLINE StorageIndex index() const { return m_id; } + EIGEN_STRONG_INLINE Index outer() const { return m_lhsIter.outer(); } EIGEN_STRONG_INLINE Index row() const { return Lhs::IsRowMajor ? m_lhsIter.row() : index(); } EIGEN_STRONG_INLINE Index col() const { return Lhs::IsRowMajor ? index() : m_lhsIter.col(); } @@ -193,6 +194,7 @@ public: EIGEN_STRONG_INLINE Scalar value() const { eigen_internal_assert(m_id