This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
View | Details | Raw Unified | Return to bug 1106
Collapse All | Expand All

(-)a/Eigen/src/SparseCore/SparseBlock.h (+2 lines)
Lines 359-374 public: Link Here
359
        return m_matrix.valuePtr()[m_matrix.outerIndexPtr()[m_outerStart]+m_matrix.innerNonZeroPtr()[m_outerStart]-1];
359
        return m_matrix.valuePtr()[m_matrix.outerIndexPtr()[m_outerStart]+m_matrix.innerNonZeroPtr()[m_outerStart]-1];
360
    }
360
    }
361
361
362
    EIGEN_STRONG_INLINE Index rows() const { return IsRowMajor ? m_outerSize.value() : m_matrix.rows(); }
362
    EIGEN_STRONG_INLINE Index rows() const { return IsRowMajor ? m_outerSize.value() : m_matrix.rows(); }
363
    EIGEN_STRONG_INLINE Index cols() const { return IsRowMajor ? m_matrix.cols() : m_outerSize.value(); }
363
    EIGEN_STRONG_INLINE Index cols() const { return IsRowMajor ? m_matrix.cols() : m_outerSize.value(); }
364
364
365
  protected:
365
  protected:
366
366
367
    EIGEN_INHERIT_ASSIGNMENT_OPERATORS(BlockImpl)
368
367
    typename SparseMatrixType::Nested m_matrix;
369
    typename SparseMatrixType::Nested m_matrix;
368
    Index m_outerStart;
370
    Index m_outerStart;
369
    const internal::variable_if_dynamic<Index, OuterSize> m_outerSize;
371
    const internal::variable_if_dynamic<Index, OuterSize> m_outerSize;
370
372
371
};
373
};
372
374
373
//----------
375
//----------
374
376

Return to bug 1106