3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

fix compiler warnings

This commit is contained in:
Nikolaj Bjorner 2025-01-12 13:39:13 -08:00
parent 85356c5548
commit 8d2b9b41fd
3 changed files with 5 additions and 3 deletions

View file

@ -2097,6 +2097,7 @@ namespace lp {
switch (kind) {
case LT:
y_of_bound = -1;
Z3_fallthrough;
case LE: {
auto up = numeric_pair<mpq>(right_side, y_of_bound);
if (up < m_mpq_lar_core_solver.m_r_lower_bounds[j]) {
@ -2213,6 +2214,7 @@ namespace lp {
} break;
case GT:
y_of_bound = 1;
Z3_fallthrough;
case GE: {
auto low = numeric_pair<mpq>(right_side, y_of_bound);
m_mpq_lar_core_solver.m_r_lower_bounds[j] = low;