3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-07 11:41:22 +00:00

fix build warnings

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-07-22 12:24:30 -07:00
parent a0892c6669
commit d0f2b00f96
3 changed files with 4 additions and 6 deletions

View file

@ -494,7 +494,7 @@ namespace sat {
unsigned h = value_hash();
unsigned occs = 0;
bool contains = m_models.find(h, occs);
if (!m_models.contains(h)) {
if (!contains) {
for (unsigned v = 0; v < num_vars(); ++v)
bias(v) += value(v) ? 1 : -1;
if (m_models.size() > m_config.m_max_num_models)