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:
parent
d73b7267e3
commit
93ee05648e
17 changed files with 55 additions and 94 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue