mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 17:54:43 +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
|
@ -196,6 +196,7 @@ namespace smt {
|
|||
CTRACE("bound_bug", below_lower(v) || above_upper(v), display_var(tout, v); display(tout););
|
||||
SASSERT(!below_lower(v));
|
||||
SASSERT(!above_upper(v));
|
||||
if (below_lower(v) || above_upper(v)) return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue