Skip to content

Commit

Permalink
fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
levnach committed Aug 27, 2024
1 parent 7821a2c commit 7eeb82e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/math/lp/dioph_eq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ namespace lp {

void init() {
unsigned n_of_rows = lra.A_r().row_count();
unsigned skipped = 0;
unsigned fn = 0;

auto all_vars_are_int = [this](const auto& row) {
Expand Down Expand Up @@ -189,7 +188,7 @@ namespace lp {

mpq gcd_of_coeffs(const term_o& t) {
mpq g(0);
for (auto & p : t) {
for (const auto & p : t) {
if (g.is_zero()) {
g = abs(p.coeff());
} else {
Expand Down Expand Up @@ -287,7 +286,7 @@ namespace lp {
unsigned k;
int k_sign;
mpq t;
for (auto& p : eh) {
for (const auto& p : eh) {
t = abs(p.coeff());
if (first || t < ahk) {
ahk = t;
Expand Down

0 comments on commit 7eeb82e

Please sign in to comment.