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:
parent
940fed16e1
commit
d815cf9b7b
4 changed files with 40 additions and 15 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue