From 32917515df2fb1568d852e5727b20ecb27acbe6b Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 4 Dec 2011 12:19:26 +0100 Subject: make the accessors to internal sparse storage part of the public API and remove their "_" prefix. --- Eigen/src/SparseCholesky/SimplicialCholesky.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Eigen/src/SparseCholesky') diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky.h b/Eigen/src/SparseCholesky/SimplicialCholesky.h index 808be2855..edc83a018 100644 --- a/Eigen/src/SparseCholesky/SimplicialCholesky.h +++ b/Eigen/src/SparseCholesky/SimplicialCholesky.h @@ -675,7 +675,7 @@ void SimplicialCholeskyBase::analyzePattern(const MatrixType& a, bool d } /* construct Lp index array from m_nonZerosPerCol column counts */ - Index* Lp = m_matrix._outerIndexPtr(); + Index* Lp = m_matrix.outerIndexPtr(); Lp[0] = 0; for(Index k = 0; k < size; ++k) Lp[k+1] = Lp[k] + m_nonZerosPerCol[k] + (doLDLt ? 0 : 1); @@ -699,9 +699,9 @@ void SimplicialCholeskyBase::factorize(const MatrixType& a) eigen_assert(m_parent.size()==size); eigen_assert(m_nonZerosPerCol.size()==size); - const Index* Lp = m_matrix._outerIndexPtr(); - Index* Li = m_matrix._innerIndexPtr(); - Scalar* Lx = m_matrix._valuePtr(); + const Index* Lp = m_matrix.outerIndexPtr(); + Index* Li = m_matrix.innerIndexPtr(); + Scalar* Lx = m_matrix.valuePtr(); ei_declare_aligned_stack_constructed_variable(Scalar, y, size, 0); ei_declare_aligned_stack_constructed_variable(Index, pattern, size, 0); -- cgit v1.2.3