[Kst] kdeextragear-2/kst/kst
Barth Netterfield
netterfield at astro.utoronto.ca
Sat Jul 26 04:58:47 CEST 2003
CVS commit by netterfield:
Fix minor math error
M +1 -1 kstpsdcurve.cpp 1.19
--- kdeextragear-2/kst/kst/kstpsdcurve.cpp #1.18:1.19
@@ -238,5 +238,5 @@ KstObject::UpdateType KstPSDCurve::updat
psd[0]+=a[0];
psd[PSDLen-1] += a[1];
- for (i_samp=0; i_samp<PSDLen; i_samp++) {
+ for (i_samp=1; i_samp<PSDLen-1; i_samp++) {
psd[i_samp]+= cabs(a[i_samp*2], a[i_samp*2+1]);
}
More information about the Kst
mailing list