3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-15 18:36:16 +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

@ -92,12 +92,12 @@ namespace simplex {
};
static const var_t null_var = UINT_MAX;
mutable manager m;
mutable eps_manager em;
mutable matrix M;
unsigned m_max_iterations;
volatile bool m_cancel;
var_heap m_to_patch;
mutable manager m;
mutable eps_manager em;
vector<var_info> m_vars;
svector<var_t> m_row2base;
bool m_bland;
@ -110,6 +110,7 @@ namespace simplex {
public:
simplex():
M(m),
m_max_iterations(UINT_MAX),
m_cancel(false),
m_to_patch(1024),