2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-25 04:42:24 +00:00

FIX coordinate_matrix pop_back type, should be filled_

Thanks to Markus Schöpflin
This commit is contained in:
Michael Stevens
2005-10-20 09:19:41 +00:00
parent 8e38c3c42f
commit b371af43d1

View File

@@ -4308,7 +4308,7 @@ namespace boost { namespace numeric { namespace ublas {
BOOST_UBLAS_CHECK (filled_ > 0, external_logic ());
-- filled_;
sorted_filled_ = (std::min) (sorted_filled_, filled_);
sorted_ = sorted_filled_ = filled;
sorted_ = sorted_filled_ = filled_;
storage_invariants ();
}