|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49578 - trunk/boost/numeric/ublas
From: guwi17_at_[hidden]
Date: 2008-11-03 17:53:56
Author: guwi17
Date: 2008-11-03 17:53:55 EST (Mon, 03 Nov 2008)
New Revision: 49578
URL: http://svn.boost.org/trac/boost/changeset/49578
Log:
see #2423.
removed the check because it makes absolutely no sense
TODO: check the strange "optimization" of lower bound.
Text files modified:
trunk/boost/numeric/ublas/storage_sparse.hpp | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
Modified: trunk/boost/numeric/ublas/storage_sparse.hpp
==============================================================================
--- trunk/boost/numeric/ublas/storage_sparse.hpp (original)
+++ trunk/boost/numeric/ublas/storage_sparse.hpp 2008-11-03 17:53:55 EST (Mon, 03 Nov 2008)
@@ -390,7 +390,6 @@
if (it != end () && it->first == p.first)
return std::make_pair (it, false);
difference_type n = it - begin ();
- BOOST_UBLAS_CHECK (size () == 0 || size () == size_type (n), external_logic ());
resize (size () + 1);
it = begin () + n; // allow for invalidation
std::copy_backward (it, end () - 1, end ());
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk