Skip to content

Commit

Permalink
fix #4856
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Dec 6, 2020
1 parent c3c7aad commit 746dd74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/smt/watch_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ namespace smt {
else
*prev++ = *it;
}
end_cls_core() -= num_deleted * sizeof(clause *);
if (num_deleted > 0)
end_cls_core() -= num_deleted * sizeof(clause *);
}

void watch_list::remove_literal(literal l) {
Expand Down

0 comments on commit 746dd74

Please sign in to comment.