3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-04 23:13:57 +00:00

fix bugs in optimization for integers

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2013-12-15 08:46:24 +02:00
parent b764c7bbee
commit ddd0bf875d
2 changed files with 8 additions and 3 deletions

View file

@ -111,7 +111,7 @@ namespace smt {
}
}
if (m_min_cost_atom) {
if (!initialized && m_min_cost_atom) {
app* var = m_min_cost_atom;
if (!ctx.e_internalized(var)) {
ctx.mk_enode(var, false, true, true);