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:
parent
97b2fc9ee7
commit
0f0397b05f
2 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue