[Kst] kdeextragear-2/kst/plugins/linefit
Andrew Walker
arwalker at sumusltd.com
Mon Jul 19 22:39:11 CEST 2004
CVS commit by arwalker:
Remove compiler warning.
M +1 -1 linefit.cpp 1.3
--- kdeextragear-2/kst/plugins/linefit/linefit.cpp #1.2:1.3
@@ -87,5 +87,5 @@ int linefit(const double *const inArrays
for (i = 0; i < inArrayLens[X]; i++) {
double z = xScale*i;
- long int idx = rint(z);
+ long int idx = long(rint(z));
double skew = z - floor(z); /* [0..1] */
long int idx2 = idx + 1;
More information about the Kst
mailing list