[Kst] kdeextragear-2/kst/kst

Barth Netterfield netterfield at astro.utoronto.ca
Thu Jul 15 07:01:01 CEST 2004


CVS commit by netterfield: 

Fix for bug 80519: statistics scalar mean is incorrect


  M +9 -7      kstvector.cpp   1.74


--- kdeextragear-2/kst/kst/kstvector.cpp  #1.73:1.74
@@ -322,5 +322,7 @@ KstObject::UpdateType KstVector::update(
     }
 
-    max = min = sum = sum2 = _v[i0];
+    max = min = _v[i0];
+    sum = sum2 = 0.0;
+
     if (_v[i0] > 0) {
       minpos = _v[i0];





More information about the Kst mailing list