[Kst] extragear/graphics/kst/src/libkst
George Staikos
staikos at kde.org
Mon Nov 27 08:37:40 CET 2006
SVN commit 608225 by staikos:
a missed case in the assertion: if the update is forced, it's possible that
new_nf == NF here. multicore-update brought up this situation
M +1 -1 kstrvector.cpp
--- trunk/extragear/graphics/kst/src/libkst/kstrvector.cpp #608224:608225
@@ -576,7 +576,7 @@
_v[0] = KST::NOPOINT;
n_read = 1;
} else if (_file->samplesPerFrame(_field) > 1) {
- assert(new_nf - NF - 1 > 0 || new_nf - NF - 1 == -1);
+ assert(new_nf - NF - 1 > 0 || new_nf - NF - 1 == -1 || force);
assert(new_f0 + NF >= 0);
assert(new_f0 + new_nf - 1 >= 0);
n_read = _file->readField(_v+NF*SPF, _field, new_f0 + NF, new_nf - NF - 1);
More information about the Kst
mailing list