[Kst] kdeextragear-2/kst/plugins/periodogram
Andrew Walker
arwalker at sumusltd.com
Tue Dec 9 20:30:06 CET 2003
CVS commit by arwalker:
M +28 -27 periodogram.c 1.4
--- kdeextragear-2/kst/plugins/periodogram/periodogram.c #1.3:1.4
@@ -121,4 +121,5 @@ void four1( double data[], unsigned long
data[j+1] = dtemp;
}
+
m = n >> 1;
while( m >= 2 && j > m )
@@ -133,5 +134,5 @@ void four1( double data[], unsigned long
while( n > mmax )
{
- istep = mmax << 1;
+ istep = mmax * 2;
theta = isign*(TWO_PI/mmax);
wtemp = sin(0.5*theta);
More information about the Kst
mailing list