mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 18:00:23 +00:00
fix updates to cce
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2d0f80f78e
commit
2739342aba
16 changed files with 248 additions and 254 deletions
|
@ -87,6 +87,15 @@ namespace sat {
|
|||
mark_strengthened();
|
||||
}
|
||||
|
||||
void clause::shrink(unsigned num_lits) {
|
||||
SASSERT(num_lits <= m_size);
|
||||
if (num_lits < m_size) {
|
||||
m_size = num_lits;
|
||||
mark_strengthened();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
bool clause::satisfied_by(model const & m) const {
|
||||
for (literal l : *this) {
|
||||
if (l.sign()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue