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:
parent
ef28f0e2f0
commit
25feb0ebed
|
@ -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"););
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue