3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-19 09:40:20 +00:00

add shortcuts for unit assertions, conflicts

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-02-11 10:56:36 -08:00
parent d73b7267e3
commit 93ee05648e
17 changed files with 55 additions and 94 deletions

View file

@ -119,11 +119,11 @@ namespace sat {
s.display_watches(tout););
switch (new_sz) {
case 0:
s.set_conflict(justification());
s.set_conflict();
s.del_clause(c);
break;
case 1:
s.assign(c[0], justification());
s.assign_unit(c[0]);
s.del_clause(c);
break;
case 2: