mirror of
https://github.com/Z3Prover/z3
synced 2025-10-01 21:49:29 +00:00
* Fixed bug in UP * Put decrement at the right position * Fixed replaying in UP * Set UP persist clauses to false
This commit is contained in:
parent
c2b7b58c78
commit
acd48b6a30
3 changed files with 12 additions and 11 deletions
|
@ -1142,10 +1142,13 @@ namespace smt {
|
|||
for (unsigned i = 0; i < num_lits; i++) {
|
||||
literal curr = lits[i];
|
||||
lbool val = get_assignment(curr);
|
||||
switch(val) {
|
||||
switch (val) {
|
||||
case l_false:
|
||||
TRACE("simplify_aux_clause_literals", display_literal_verbose(tout << get_assign_level(curr) << " " << get_scope_level() << " " << curr << ":", curr); tout << "\n"; );
|
||||
simp_lits.push_back(~curr);
|
||||
if (curr != prev) {
|
||||
prev = curr;
|
||||
simp_lits.push_back(~curr);
|
||||
}
|
||||
break; // ignore literal
|
||||
// fall through
|
||||
case l_undef:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue