mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
some fixes
This commit is contained in:
parent
cf80225fee
commit
e5289f84a0
5 changed files with 13 additions and 8 deletions
|
@ -149,6 +149,7 @@ namespace polysat {
|
|||
if (c->contains_var(v))
|
||||
unset_mark(c);
|
||||
}
|
||||
m_vars.remove(v);
|
||||
}
|
||||
|
||||
void conflict_core::set_bailout() {
|
||||
|
@ -366,6 +367,10 @@ namespace polysat {
|
|||
return m_bvar2mark.get(b, false);
|
||||
}
|
||||
|
||||
bool conflict_core::contains_literal(sat::literal lit) const {
|
||||
return m_literals.contains(lit.to_uint());
|
||||
}
|
||||
|
||||
void conflict_core::insert_literal(sat::literal lit) {
|
||||
m_literals.insert(lit.to_uint());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue