mirror of
https://github.com/Z3Prover/z3
synced 2025-08-24 03:57:51 +00:00
align reslimit with ddfw
This commit is contained in:
parent
3c5b8bd03d
commit
a08a3ee32b
6 changed files with 16 additions and 4 deletions
|
@ -2637,6 +2637,7 @@ namespace sls {
|
|||
}
|
||||
template<typename num_t>
|
||||
double arith_base<num_t>::lookahead(expr* t, bool update_score) {
|
||||
ctx.rlimit().inc();
|
||||
SASSERT(a.is_int_real(t) || m.is_bool(t));
|
||||
double score = m_top_score;
|
||||
for (unsigned depth = m_min_depth; depth <= m_max_depth; ++depth) {
|
||||
|
@ -2955,7 +2956,7 @@ namespace sls {
|
|||
IF_VERBOSE(3, verbose_stream() << "lookahead-search moves:" << m_stats.m_moves << " max-moves:" << m_config.max_moves << "\n");
|
||||
TRACE("arith", display(tout));
|
||||
|
||||
while (m.inc() && m_stats.m_moves < m_config.max_moves) {
|
||||
while (ctx.rlimit().inc() && m_stats.m_moves < m_config.max_moves) {
|
||||
m_stats.m_moves++;
|
||||
check_restart();
|
||||
|
||||
|
@ -3015,7 +3016,7 @@ namespace sls {
|
|||
}
|
||||
|
||||
m_last_atom = e;
|
||||
CTRACE("arith", !e, "no candidate\n";);
|
||||
CTRACE("arith", !e, tout << "no unsatisfiable candidate\n";);
|
||||
CTRACE("arith", e,
|
||||
tout << "select " << mk_bounded_pp(e, m) << " ";
|
||||
for (auto v : get_fixable_exprs(e))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue