Skip to content

Commit e9e9500

Browse files
committed
fix the build
Signed-off-by: Lev Nachmanson <[email protected]>
1 parent db5ac5a commit e9e9500

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/lp/gomory_test.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ struct gomory_test {
8686
}
8787

8888
void int_case_in_gomory_cut(const mpq & a, unsigned x_j, mpq & k, lar_term & t, explanation& expl, mpq & lcm_den, const mpq& f_0, const mpq& one_minus_f_0) {
89-
lp_assert(is_int(x_j));
89+
lp_assert(is_integer(x_j));
9090
lp_assert(!a.is_int());
9191
lp_assert(f_0 > zero_of_type<mpq>() && f_0 < one_of_type<mpq>());
9292
mpq f_j = fractional_part(a);
@@ -138,7 +138,7 @@ struct gomory_test {
138138
if (pol.size() == 1) {
139139
TRACE("gomory_cut_detail", tout << "pol.size() is 1" << std::endl;);
140140
unsigned v = pol[0].second;
141-
lp_assert(is_int(v));
141+
lp_assert(is_integer(v));
142142
const mpq& a = pol[0].first;
143143
k /= a;
144144
if (a.is_pos()) { // we have av >= k
@@ -165,7 +165,7 @@ struct gomory_test {
165165
// normalize coefficients of integer parameters to be integers.
166166
for (auto & pi: pol) {
167167
pi.first *= lcm_den;
168-
SASSERT(!is_int(pi.second) || pi.first.is_int());
168+
SASSERT(!is_integer(pi.second) || pi.first.is_int());
169169
}
170170
k *= lcm_den;
171171
}

0 commit comments

Comments
 (0)