3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-23 03:27:52 +00:00

address compiler warnings, and user question #6544

This commit is contained in:
Nikolaj Bjorner 2023-01-19 19:02:43 -08:00
parent 523a3f34b0
commit d11e5c8ca6
16 changed files with 11 additions and 57 deletions

View file

@ -580,7 +580,6 @@ namespace sat {
bool_var v = null_bool_var;
unsigned num_unsat = m_unsat_stack.size();
constraint const& c = m_constraints[m_unsat_stack[m_rand() % num_unsat]];
unsigned reflipped = 0;
bool is_core = m_unsat_stack.size() <= 10;
if (m_rand() % 10000 <= m_noise) {
// take this branch with 98% probability.
@ -684,7 +683,6 @@ namespace sat {
}
if (false && is_core && c.m_k < constraint_value(c)) {
++reflipped;
goto reflip;
}
}