mirror of
https://github.com/Z3Prover/z3
synced 2025-07-31 16:33:18 +00:00
n/a
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b60f30c802
commit
357a92dfef
1 changed files with 5 additions and 0 deletions
|
@ -1451,6 +1451,11 @@ namespace smt {
|
||||||
normalize_gain(min_gain.get_rational(), max_gain);
|
normalize_gain(min_gain.get_rational(), max_gain);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_int(x_i) && !max_gain.is_rational()) {
|
||||||
|
max_gain = inf_numeral(floor(max_gain));
|
||||||
|
normalize_gain(min_gain.get_rational(), max_gain);
|
||||||
|
}
|
||||||
|
|
||||||
if (!max_inc.is_minus_one()) {
|
if (!max_inc.is_minus_one()) {
|
||||||
if (is_int(x_i)) {
|
if (is_int(x_i)) {
|
||||||
TRACE("opt",
|
TRACE("opt",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue