3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-05 23:05:46 +00:00

levels/crit

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-09-10 16:03:38 +02:00
parent af0e4d402b
commit d514464e30
6 changed files with 14 additions and 13 deletions

View file

@ -17,9 +17,8 @@ Author:
namespace polysat {
clause_ref clause::from_unit(signed_constraint c, p_dependency_ref d) {
clause_ref clause::from_unit(unsigned lvl, signed_constraint c, p_dependency_ref d) {
SASSERT(c->has_bvar());
unsigned const lvl = 0; // level from literal?
sat::literal_vector lits;
lits.push_back(c.blit());
return clause::from_literals(lvl, std::move(d), std::move(lits));