SVN commit 474600 by staikos: one from the obvious department: use memset M +1 -3 kstvector.cpp --- trunk/extragear/graphics/kst/kst/kstvector.cpp #474599:474600 @@ -250,9 +250,7 @@ void KstVector::zero() { setDirty(); _ns_min = _ns_max = 0.0; - for (int i = 0; i < _size; i++) { - _v[i] = 0.0; - } + memset(_v, 0, sizeof(double)*_size); updateScalars(); }