3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-28 10:51:28 +00:00

fix build errors

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-05-01 09:05:20 -07:00
parent 5ba814b14f
commit a91d7a7189
3 changed files with 4 additions and 5 deletions

View file

@ -1035,10 +1035,10 @@ namespace sat {
}
if (coeff0 > 0 && inc < 0) {
inc_bound(std::max(0LL, coeff1) - coeff0);
inc_bound(std::max((int64_t)0, coeff1) - coeff0);
}
else if (coeff0 < 0 && inc > 0) {
inc_bound(coeff0 - std::min(0LL, coeff1));
inc_bound(coeff0 - std::min((int64_t)0, coeff1));
}
int64_t lbound = static_cast<int64_t>(m_bound);