mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-22 15:52:18 +00:00
FIX reserve error with no preserve (thanks Gunter)
svn path=/trunk/boost/boost/numeric/ublas/; revision=27790
This commit is contained in:
@@ -2649,6 +2649,7 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
value_data_.resize (capacity_);
|
||||
filled1_ = 1;
|
||||
filled2_ = 0;
|
||||
index1_data_ [filled1_ - 1] = k_based (filled2_);
|
||||
}
|
||||
storage_invariants ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user