[Kst] kdeextragear-2/kst/kst

Barth Netterfield netterfield at astro.utoronto.ca
Sat Aug 14 03:37:23 CEST 2004


CVS commit by netterfield: 

 Fix equation curve indexing...

Bug 87177: equations are incorrectly re-sampled

CMAIL: 87177-done at bugs.kde.org


  M +1 -1      kstequationcurve.cpp   1.61


--- kdeextragear-2/kst/kst/kstequationcurve.cpp  #1.60:1.61
@@ -382,5 +382,5 @@ bool KstEquationCurve::FillY(bool force)
   if (NS != (*_xVector)->sampleCount() || _interp != 1 ||
       (*_xVector)->numShift() != (*_xVector)->numNew()) {
-    NS = (*_xVector)->sampleCount()*_interp - 1;
+    NS = (*_xVector)->sampleCount()*_interp;// - 1;
 
     KstVectorPtr yv = *_yVector;





More information about the Kst mailing list