Skip to content

Commit 5c13116

Browse files
committed
revert to using old version of modrat to avoid 32-bit problems
1 parent 7b486a8 commit 5c13116

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libsrc/arith.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ int new_modrat(long n, long m, long& a, long& b);
429429

430430
int modrat(long n, long m, long& a, long& b)
431431
{
432-
// return old_modrat(n, m, a, b);
433-
return new_modrat(n, m, a, b);
432+
return old_modrat(n, m, a, b);
433+
//return new_modrat(n, m, a, b); // NB new version has problems on 32-bit
434434
}
435435

436436
int old_modrat(long n, long m, long& a, long& b)

0 commit comments

Comments
 (0)