3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-29 17:38:45 +00:00

fix bug in optimization where a variable is updated twice

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-07-07 16:01:48 -07:00
parent 940fed16e1
commit d815cf9b7b
4 changed files with 40 additions and 15 deletions

View file

@ -2238,6 +2238,9 @@ namespace smt {
m_nl_gb_exhausted = true;
warn = true;
}
if (get_context().get_cancel_flag()) {
return GB_FAIL;
}
TRACE("non_linear_gb", tout << "after:\n"; gb.display(tout););
// Scan the grobner basis eqs, and look for inconsistencies.
eqs.reset();