mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 17:45:32 +00:00
fix build
This commit is contained in:
parent
6ffcea0bde
commit
412b6ffd4a
2 changed files with 7 additions and 1 deletions
|
@ -146,6 +146,12 @@ namespace polysat {
|
|||
m_constraints.shrink(j);
|
||||
}
|
||||
|
||||
void conflict_core::set_bailout() {
|
||||
SASSERT(!is_bailout());
|
||||
m_bailout = true;
|
||||
s().m_stats.m_num_bailouts++;
|
||||
}
|
||||
|
||||
void conflict_core::resolve(constraint_manager const& m, sat::bool_var var, clause const& cl) {
|
||||
// Note: core: x, y, z; corresponds to clause ~x \/ ~y \/ ~z
|
||||
// clause: x \/ u \/ v
|
||||
|
|
|
@ -68,7 +68,7 @@ namespace polysat {
|
|||
pvar conflict_var() const { return m_conflict_var; }
|
||||
|
||||
bool is_bailout() const { return m_bailout; }
|
||||
void set_bailout() { SASSERT(!is_bailout()); m_bailout = true; s().m_stats.m_num_bailouts++; }
|
||||
void set_bailout();
|
||||
|
||||
bool empty() const {
|
||||
return m_constraints.empty() && m_vars.empty() && m_literals.empty() && m_conflict_var == null_var;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue