Skip to content

Commit

Permalink
Revert "more accurate used marking in subsume"
Browse files Browse the repository at this point in the history
This reverts commit 3c1e613.
  • Loading branch information
arminbiere committed Feb 27, 2024
1 parent e71bd58 commit c0118ae
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/subsume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,7 @@ void Internal::strengthen_clause (Clause *c, int lit) {
mark_removed (lit);
auto new_end = remove (c->begin (), c->end (), lit);
assert (new_end + 1 == c->end ()), (void) new_end;
const int old_glue = c->glue;
(void) shrink_clause (c, c->size - 1);
if (c->glue == old_glue) { // no promotion happened, marking as used
unsigned used = c->used;
c->used = 1;
if (used && c->glue <= opts.reducetier2glue)
c->used = 2;
}
LOG (c, "strengthened");
external->check_shrunken_clause (c);
}
Expand Down

0 comments on commit c0118ae

Please sign in to comment.