From bbf850d64a9525728380dfdddf70f3d97cb5dcba Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Fri, 13 Aug 2004 15:39:57 +0000 Subject: [PATCH] Commented old code svn path=/trunk/boost/boost/numeric/ublas/; revision=24462 --- include/boost/numeric/ublas/vector.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/numeric/ublas/vector.hpp b/include/boost/numeric/ublas/vector.hpp index f453a2f1..b8fad889 100644 --- a/include/boost/numeric/ublas/vector.hpp +++ b/include/boost/numeric/ublas/vector.hpp @@ -248,17 +248,17 @@ namespace boost { namespace numeric { namespace ublas { void insert (size_type i, const_reference t) { // FIXME: only works for EqualityComparable value types. // BOOST_UBLAS_CHECK (data () [i] == value_type (), bad_index ()); - // data ().insert (data ().begin () + i, t); + // Previously: data ().insert (data ().begin () + i, t); data () [i] = t; } BOOST_UBLAS_INLINE void erase (size_type i) { - // data ().erase (data ().begin () + i); + // Previously: data ().erase (data ().begin () + i); data () [i] = value_type (); } BOOST_UBLAS_INLINE void clear () { - // data ().clear (); + // Previously: data ().clear (); std::fill (data ().begin (), data ().end (), value_type ()); }