[Kst] extragear/graphics/kst/kst
Ted Kisner
tskisner.public at gmail.com
Tue Oct 25 22:52:21 CEST 2005
SVN commit 474256 by tskisner:
Matrix values that are infinite or NAN should not be considered "ok"
M +1 -1 kstmatrix.cpp
--- trunk/extragear/graphics/kst/kst/kstmatrix.cpp #474255:474256
@@ -85,7 +85,7 @@
double KstMatrix::valueRaw(int x, int y, bool* ok) {
int index = zIndex(x,y);
- if (index < 0) {
+ if ((index < 0) || !finite(_z[index]) || KST_ISNAN(_z[index])) {
if (ok) {
(*ok) = false;
}
More information about the Kst
mailing list