mirror of
https://github.com/Z3Prover/z3
synced 2025-06-29 17:38:45 +00:00
Fix bug #1079, integrality testing seems to have been wrong
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
78e8e8b893
commit
0fa6274a65
2 changed files with 7 additions and 4 deletions
|
@ -1034,8 +1034,10 @@ namespace smt {
|
|||
lbool val = get_assignment(curr);
|
||||
switch(val) {
|
||||
case l_false:
|
||||
TRACE("simplify_aux_clause_literals", display_literal(tout << get_assign_level(curr) << " " << get_scope_level() << " ", curr); tout << "\n"; );
|
||||
simp_lits.push_back(~curr);
|
||||
break; // ignore literal
|
||||
break; // ignore literal
|
||||
// fall through
|
||||
case l_undef:
|
||||
if (curr == ~prev)
|
||||
return false; // clause is equivalent to true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue