mirror of
https://github.com/Z3Prover/z3
synced 2025-10-08 00:41:56 +00:00
fixes to trim
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
30a2ced9aa
commit
d9e7b8c21f
6 changed files with 123 additions and 34 deletions
|
@ -28,7 +28,7 @@ namespace sat {
|
|||
}
|
||||
|
||||
// for nary clauses
|
||||
static bool contains_watched(watch_list const & wlist, clause const & c, clause_offset cls_off) {
|
||||
bool integrity_checker::contains_watched(watch_list const & wlist, clause const & c, clause_offset cls_off) const {
|
||||
for (watched const& w : wlist) {
|
||||
if (w.is_clause()) {
|
||||
if (w.get_clause_offset() == cls_off) {
|
||||
|
@ -38,6 +38,8 @@ namespace sat {
|
|||
}
|
||||
}
|
||||
}
|
||||
TRACE("sat", tout << "clause " << c << " not found in watch-list\n");
|
||||
TRACE("sat", s.display_watches(tout));
|
||||
UNREACHABLE();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue