mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 03:27:52 +00:00
fix assertion violation in the code path where the simplifier throws a memout exception
This commit is contained in:
parent
31d4ba0009
commit
076d3dbf13
3 changed files with 6 additions and 1 deletions
|
@ -45,6 +45,7 @@ namespace sat {
|
|||
}
|
||||
|
||||
bool integrity_checker::check_clause(clause const & c) const {
|
||||
CTRACE("sat_bug", c.was_removed(), s.display(tout << "c: " << c.id() << ": " << c << "\n"));
|
||||
SASSERT(!c.was_removed());
|
||||
for (unsigned i = 0; i < c.size(); i++) {
|
||||
VERIFY(c[i].var() <= s.num_vars());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue