From cfc6387537882f8546ec161732fe278371cad7a3 Mon Sep 17 00:00:00 2001 From: Chris Beall Date: Thu, 21 Oct 2010 20:11:17 +0000 Subject: [PATCH] minor cleanup --- base/BTree.h | 4 ++-- base/Matrix.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/base/BTree.h b/base/BTree.h index 130ecb48a..17dcc0f23 100644 --- a/base/BTree.h +++ b/base/BTree.h @@ -328,7 +328,7 @@ namespace gtsam { public: // traits for playing nice with STL - typedef ptrdiff_t difference_type; // correct ? + typedef ptrdiff_t difference_type; typedef std::forward_iterator_tag iterator_category; typedef std::pair value_type; typedef const value_type* pointer; @@ -386,7 +386,7 @@ namespace gtsam { }; // const_iterator - // hack to make BTree work with BOOST_FOREACH + // to make BTree work with BOOST_FOREACH // We do *not* want a non-const iterator typedef const_iterator iterator; diff --git a/base/Matrix.h b/base/Matrix.h index 6ebb86623..8ce7dc59d 100644 --- a/base/Matrix.h +++ b/base/Matrix.h @@ -213,8 +213,6 @@ void insertColumn(Matrix& A, const Vector& col, size_t i, size_t j); */ Vector row_(const Matrix& A, size_t j); - - /** * solve AX=B via in-place Lu factorization and backsubstitution * After calling, A contains LU, B the solved RHS vectors