Skip to content

Commit

Permalink
whoops, X(safe_mulmod) not fftw_safe_mulmod
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed May 15, 2003
1 parent ad0f04a commit 57d761e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kernel/primes.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
*/

/* $Id: primes.c,v 1.9 2003-03-15 20:29:43 stevenj Exp $ */
/* $Id: primes.c,v 1.10 2003-05-15 22:47:18 stevenj Exp $ */

#include "ifftw.h"

Expand All @@ -39,8 +39,8 @@ int X(safe_mulmod)(int x, int y, int p)
return((x * y) % p);
else {
int y2 = y/2;
return((fftw_safe_mulmod(x, y2, p) +
fftw_safe_mulmod(x, y - y2, p)) % p);
return((X(safe_mulmod)(x, y2, p) +
X(safe_mulmod)(x, y - y2, p)) % p);
}
}
#endif /* safe_mulmod ('long long' unavailable) */
Expand Down

0 comments on commit 57d761e

Please sign in to comment.