2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-22 03:42:19 +00:00
removed the check because it makes absolutely no sense
TODO: check the strange "optimization" of lower bound.
This commit is contained in:
Gunter Winkler
2008-11-03 22:53:55 +00:00
parent da29a1702c
commit 3cf0182249

View File

@@ -390,7 +390,6 @@ namespace boost { namespace numeric { namespace ublas {
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 ());