Skip to content

Commit

Permalink
revert to using old version of modrat to avoid 32-bit problems
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnCremona committed Jan 13, 2025
1 parent 7b486a8 commit 5c13116
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libsrc/arith.cc
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,8 @@ int new_modrat(long n, long m, long& a, long& b);

int modrat(long n, long m, long& a, long& b)
{
// return old_modrat(n, m, a, b);
return new_modrat(n, m, a, b);
return old_modrat(n, m, a, b);
//return new_modrat(n, m, a, b); // NB new version has problems on 32-bit
}

int old_modrat(long n, long m, long& a, long& b)
Expand Down

0 comments on commit 5c13116

Please sign in to comment.