mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-22 03:42:19 +00:00
see #2423.
removed the check because it makes absolutely no sense TODO: check the strange "optimization" of lower bound.
This commit is contained in:
@@ -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 ());
|
||||
|
||||
Reference in New Issue
Block a user