From 503c176d8edc6e2877b2ade7b3ed3a5ae17cf4e7 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 7 Oct 2014 09:53:27 +0200 Subject: [PATCH] Fix missing outer() member in DynamicSparseMatrix --- unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h b/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h index e4dc1c1de..976f9f270 100644 --- a/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +++ b/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h @@ -331,6 +331,7 @@ class DynamicSparseMatrix::InnerIterator : public Sparse inline Index row() const { return IsRowMajor ? m_outer : Base::index(); } inline Index col() const { return IsRowMajor ? Base::index() : m_outer; } + inline Index outer() const { return m_outer; } protected: const Index m_outer; @@ -347,6 +348,7 @@ class DynamicSparseMatrix::ReverseInnerIterator : public inline Index row() const { return IsRowMajor ? m_outer : Base::index(); } inline Index col() const { return IsRowMajor ? Base::index() : m_outer; } + inline Index outer() const { return m_outer; } protected: const Index m_outer;