Skip to content

Commit

Permalink
fix #4640
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Aug 17, 2020
1 parent df8b14d commit c13e3ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/math/lp/int_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -519,10 +519,10 @@ bool int_solver::shift_var(unsigned j, unsigned range) {
if (is_fixed(j) || is_base(j))
return false;

bool inf_l, inf_u;
bool inf_l = false, inf_u = false;
impq l, u;
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);
// x, the value of j column, might be shifted on a multiple of m
if (inf_l && inf_u) {
Expand Down

0 comments on commit c13e3ce

Please sign in to comment.