diff options
Diffstat (limited to 'desiredata/src/d_mayer_fft.c')
-rw-r--r-- | desiredata/src/d_mayer_fft.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desiredata/src/d_mayer_fft.c b/desiredata/src/d_mayer_fft.c index 74ee1c76..563f02ba 100644 --- a/desiredata/src/d_mayer_fft.c +++ b/desiredata/src/d_mayer_fft.c @@ -228,13 +228,13 @@ REAL c1,s1,s2,c2,s3,c3,s4,c4; for (k1=1,k2=0;k1<n;k1++) { REAL aa; - for (k=n>>1; (!((k2^=k)&k)); k>>=1); + for (k=n>>1; (!((k2^=k)&k)); k>>=1) {} if (k1>k2) { aa=fz[k1];fz[k1]=fz[k2];fz[k2]=aa; } } - for ( k=0 ; (1<<k)<n ; k++ ); + for ( k=0 ; (1<<k)<n ; k++ ) {} k &= 1; if (k==0) { |