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:
parent
b764c7bbee
commit
ddd0bf875d
2 changed files with 8 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue