3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-06 19:21:22 +00:00

fix double override bug in bv_lookahead, integrate with bv_eval

This commit is contained in:
Nikolaj Bjorner 2024-12-27 12:26:11 -08:00
parent 8de0005ab3
commit b0eee16109
9 changed files with 128 additions and 56 deletions

View file

@ -1656,9 +1656,9 @@ namespace sls {
}
if (result < 0)
return 0.1;
return 0.0000001;
else if (result == 0)
return 0.2;
return 0.000002;
for (int i = m_prob_break.size(); i <= breaks; ++i)
m_prob_break.push_back(std::pow(m_config.cb, -i));
return m_prob_break[breaks];