3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-31 08:23:17 +00:00

Remove conflict::set

This commit is contained in:
Jakob Rath 2022-12-16 14:25:41 +01:00
parent 06e6f27614
commit 3b3636b30e
2 changed files with 1 additions and 20 deletions

View file

@ -191,19 +191,6 @@ namespace polysat {
SASSERT(empty());
m_level = s.m_level;
m_narrow_queue.push_back(c.blit()); // if the conflict is only due to a missed propagation of c
set_impl(c);
logger().begin_conflict();
}
#if 0
void conflict::set(signed_constraint c) {
SASSERT(!empty());
remove_all();
set_impl(c);
}
#endif
void conflict::set_impl(signed_constraint c) {
if (c.bvalue(s) == l_false) {
// boolean conflict
// This case should not happen:
@ -219,6 +206,7 @@ namespace polysat {
insert_vars(c);
}
SASSERT(!empty());
logger().begin_conflict();
}
void conflict::init(clause const& cl) {