3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-05-17 15:39:27 +00:00

deal with compiler warnings and include value exchange prior to final check.

This commit is contained in:
Nikolaj Bjorner 2025-01-24 09:40:33 -08:00
parent ce615ee116
commit 0e8969ce60
15 changed files with 132 additions and 146 deletions

View file

@ -396,13 +396,12 @@ double sls_engine::find_best_move_mc(ptr_vector<func_decl> & to_evaluate, double
// main search loop
lbool sls_engine::search() {
lbool res = l_undef;
double score = 0.0, old_score = 0.0;
double score = 0.0;
unsigned new_const = (unsigned)-1, new_bit;
mpz new_value;
move_type move;
score = rescore();
unsigned sz = m_assertions.size();
while (check_restart(m_stats.m_moves)) {
if (!m_manager.inc())
@ -435,7 +434,6 @@ lbool sls_engine::search() {
continue;
}
old_score = score;
new_const = (unsigned)-1;
// find best increasing move