3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-06-13 13:34:20 -07:00
parent fbbbfad564
commit 2c8b314a15

View file

@ -625,7 +625,8 @@ namespace sat {
case 1:
TRACE("elim_lit", tout << "clause became unit: " << c[0] << "\n";);
propagate_unit(c[0]);
remove_clause(c);
// propagate_unit will delete c.
// remove_clause(c);
return;
case 2:
TRACE("elim_lit", tout << "clause became binary: " << c[0] << " " << c[1] << "\n";);
@ -816,7 +817,8 @@ namespace sat {
}
if (sz == 1) {
propagate_unit(c[0]);
remove_clause(c);
// propagate_unit will delete c.
// remove_clause(c);
continue;
}
if (sz == 2) {