3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

hunt bugs exposed by so.smt2

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2013-12-08 18:58:48 -08:00
parent 97b2fc9ee7
commit 0f0397b05f
2 changed files with 5 additions and 1 deletions

View file

@ -239,6 +239,7 @@ namespace opt {
terms[i] = m.mk_not(terms[i].get());
}
}
id = symbol(index);
return true;
}
if (is_maximize(fml, term, index) &&
@ -260,6 +261,7 @@ namespace opt {
offset += weights[i];
}
neg = true;
id = symbol(index);
return true;
}
return false;