3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

#5938 catch also rewriter_exception that can be raised on cancelation and memory pressure

This commit is contained in:
Nikolaj Bjorner 2022-04-02 17:43:12 -07:00
parent ef28f0e2f0
commit 25feb0ebed
2 changed files with 4 additions and 1 deletions

View file

@ -100,7 +100,7 @@ class nla2bv_tactic : public tactic {
return;
}
substitute_vars(g);
TRACE("nla2bv", g.display(tout << "substitute vars\n"););
TRACE("nla2bv", g.display(tout << "substitute vars\n"));
reduce_bv2int(g);
reduce_bv2real(g);
TRACE("nla2bv", g.display(tout << "after reduce\n"););

View file

@ -336,6 +336,9 @@ public:
catch (tactic_exception &) {
result.reset();
}
catch (rewriter_exception&) {
result.reset();
}
catch (z3_error & ex) {
IF_VERBOSE(10, verbose_stream() << "z3 error: " << ex.error_code() << " in or-else\n");
throw;