3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 20:18:18 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-08-17 08:38:07 -07:00
parent df8b14d77c
commit c13e3ce693

View file

@ -519,10 +519,10 @@ bool int_solver::shift_var(unsigned j, unsigned range) {
if (is_fixed(j) || is_base(j)) if (is_fixed(j) || is_base(j))
return false; return false;
bool inf_l, inf_u; bool inf_l = false, inf_u = false;
impq l, u; impq l, u;
mpq m; mpq m;
get_freedom_interval_for_column(j, inf_l, l, inf_u, u, m); VERIFY(get_freedom_interval_for_column(j, inf_l, l, inf_u, u, m));
const impq & x = get_value(j); const impq & x = get_value(j);
// x, the value of j column, might be shifted on a multiple of m // x, the value of j column, might be shifted on a multiple of m
if (inf_l && inf_u) { if (inf_l && inf_u) {