[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu Feb 12 05:45:28 CET 2004


CVS commit by staikos: 

scalars should be updated in these cases


  M +3 -0      kstvector.cpp   1.57


--- kdeextragear-2/kst/kst/kstvector.cpp  #1.56:1.57
@@ -210,4 +210,5 @@ double* KstVector::realloced(double *mem
   _v = memptr;
   _size = newSize;
+  UpdateScalars();
   return old;
 }
@@ -218,4 +219,5 @@ void KstVector::zero() {
     _v[i] = 0.0;
   }
+  UpdateScalars();
 }
 
@@ -237,4 +239,5 @@ void KstVector::resize(int sz, bool rein
 #endif
     _size = sz;
+    UpdateScalars();
   }
 }





More information about the Kst mailing list