[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Wed Sep 1 22:46:47 CEST 2004


CVS commit by arwalker: 

This fixes (partially) a problem reported by MAMD.

A PSD is only relcalculated if the number of new points is >= the current PSD length / 16.
For plugin output vectors this new length was always zero, so the PSD would never be
recalculated. This has now been fixed, but the PSD will still not be recalculated unless the
condition described above is satisfied.


  M +1 -0      kstvector.cpp   1.80


--- kdeextragear-2/kst/kst/kstvector.cpp  #1.79:1.80
@@ -242,4 +242,5 @@ double* KstVector::realloced(double *mem
   double *old = _v;
   _v = memptr;
+  NumNew = newSize - _size;
   _size = newSize;
   updateScalars();





More information about the Kst mailing list