3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-20 15:34:41 +00:00

fix memory smash

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2014-02-27 11:49:25 -08:00
parent 3757f337e5
commit eb6d39ba46
6 changed files with 27 additions and 9 deletions

View file

@ -129,7 +129,7 @@ namespace simplex {
void del_col_entry(unsigned idx);
};
manager m;
manager& m;
vector<_row> m_rows;
svector<unsigned> m_dead_rows; // rows to recycle
vector<column> m_columns; // per var
@ -143,7 +143,7 @@ namespace simplex {
public:
sparse_matrix() {}
sparse_matrix(manager& m): m(m) {}
~sparse_matrix();
class row {