From 9ff0d67156377e4d7a39669a415f120b61846901 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 2 Jun 2010 17:56:35 +0200 Subject: [PATCH] fix typos (oops) --- Eigen/src/Sparse/DynamicSparseMatrix.h | 4 ++-- Eigen/src/Sparse/SparseMatrix.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Eigen/src/Sparse/DynamicSparseMatrix.h b/Eigen/src/Sparse/DynamicSparseMatrix.h index dea71bdba..defe312b3 100644 --- a/Eigen/src/Sparse/DynamicSparseMatrix.h +++ b/Eigen/src/Sparse/DynamicSparseMatrix.h @@ -148,10 +148,10 @@ class DynamicSparseMatrix * - the nonzero does not already exist * - the new coefficient is the last one of the given inner vector. * - * \sa insert, insertBackByInnerOuter */ + * \sa insert, insertBackByOuterInner */ inline Scalar& insertBack(Index row, Index col) { - return insertBackByInnerOuter(IsRowMajor?row:col, IsRowMajor?col:row); + return insertBackByOuterInner(IsRowMajor?row:col, IsRowMajor?col:row); } /** \sa insertBack */ diff --git a/Eigen/src/Sparse/SparseMatrix.h b/Eigen/src/Sparse/SparseMatrix.h index b60aba853..22a7d149a 100644 --- a/Eigen/src/Sparse/SparseMatrix.h +++ b/Eigen/src/Sparse/SparseMatrix.h @@ -151,10 +151,10 @@ class SparseMatrix * * After an insertion session, you should call the finalize() function. * - * \sa insert, insertBackByInnerOuter, startVec */ + * \sa insert, insertBackByOuterInner, startVec */ inline Scalar& insertBack(Index row, Index col) { - return insertBackByInnerOuter(IsRowMajor?row:col, IsRowMajor?col:row); + return insertBackByOuterInner(IsRowMajor?row:col, IsRowMajor?col:row); } /** \sa insertBack, startVec */ @@ -169,7 +169,7 @@ class SparseMatrix } /** \warning use it only if you know what you are doing */ - inline Scalar& insertBackByInnerOuterUnordered(Index outer, Index inner) + inline Scalar& insertBackByOuterInnerUnordered(Index outer, Index inner) { Index id = m_outerIndex[outer+1]; ++m_outerIndex[outer+1]; @@ -177,7 +177,7 @@ class SparseMatrix return m_data.value(id); } - /** \sa insertBack, insertBackByInnerOuter */ + /** \sa insertBack, insertBackByOuterInner */ inline void startVec(Index outer) { ei_assert(m_outerIndex[outer]==int(m_data.size()) && "You must call startVec for each inner vector sequentially");