mirror of
https://github.com/Z3Prover/z3
synced 2025-08-16 16:27:11 +00:00
parent
164a73febb
commit
cce27ff65f
5 changed files with 12 additions and 5 deletions
|
@ -28,7 +28,9 @@ void smt_params::updt_local_params(params_ref const & _p) {
|
|||
m_ematching = p.ematching();
|
||||
m_clause_proof = p.clause_proof();
|
||||
m_phase_selection = static_cast<phase_selection>(p.phase_selection());
|
||||
if (m_phase_selection > PS_THEORY) throw default_exception("illegal phase selection numeral");
|
||||
m_restart_strategy = static_cast<restart_strategy>(p.restart_strategy());
|
||||
if (m_restart_strategy > RS_ARITHMETIC) throw default_exception("illegal restart strategy numeral");
|
||||
m_restart_factor = p.restart_factor();
|
||||
m_case_split_strategy = static_cast<case_split_strategy>(p.case_split());
|
||||
m_theory_case_split = p.theory_case_split();
|
||||
|
|
|
@ -150,6 +150,9 @@ namespace smt {
|
|||
void qi_queue::instantiate() {
|
||||
unsigned since_last_check = 0;
|
||||
for (entry & curr : m_new_entries) {
|
||||
if (m_context.get_cancel_flag()) {
|
||||
break;
|
||||
}
|
||||
fingerprint * f = curr.m_qb;
|
||||
quantifier * qa = static_cast<quantifier*>(f->get_data());
|
||||
|
||||
|
@ -171,9 +174,6 @@ namespace smt {
|
|||
if (m_context.resource_limits_exceeded()) {
|
||||
break;
|
||||
}
|
||||
if (m_context.get_cancel_flag()) {
|
||||
break;
|
||||
}
|
||||
since_last_check = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue