mirror of
https://github.com/Z3Prover/z3
synced 2026-07-06 07:16:13 +00:00
add exception handling in case run method throws
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f2270d4654
commit
96092b196c
2 changed files with 24 additions and 9 deletions
|
|
@ -120,9 +120,7 @@ namespace smt {
|
|||
}
|
||||
else {
|
||||
// selected parameters are safe to update after initialization
|
||||
params_ref new_p;
|
||||
new_p.set_uint("max_conflicts", p.get_uint("max_conflicts", UINT_MAX));
|
||||
m_fparams.updt_params(new_p);
|
||||
m_fparams.m_max_conflicts = p.get_uint("max_conflicts", m_fparams.m_max_conflicts);
|
||||
}
|
||||
for (auto th : m_theory_set)
|
||||
if (th)
|
||||
|
|
@ -4685,7 +4683,6 @@ namespace smt {
|
|||
theory_id th_id = l->get_id();
|
||||
|
||||
for (enode * parent : enode::parents(n)) {
|
||||
auto p = parent->get_expr();
|
||||
family_id fid = parent->get_family_id();
|
||||
if (fid != th_id && fid != m.get_basic_family_id()) {
|
||||
if (is_beta_redex(parent, n))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue