[Kst] extragear/graphics/kst/plugins/fits
George Staikos
staikos at kde.org
Thu Nov 17 15:06:30 CET 2005
SVN commit 481015 by staikos:
Disable fit parameters for these two because they cause infinte loops and
memory consumption. Needs fixing.
M +3 -0 polynomial_unweighted/kstfit_polynomial_unweighted.cpp
M +4 -1 polynomial_weighted/kstfit_polynomial_weighted.cpp
--- trunk/extragear/graphics/kst/plugins/fits/polynomial_unweighted/kstfit_polynomial_unweighted.cpp #481014:481015
@@ -43,10 +43,13 @@
}
int parameterName(int iIndex, char** pName) {
+#if 0
char name[20];
sprintf( name, "x^%d", iIndex );
*pName = strdup( name );
return 1;
+#endif
+ return 0;
}
--- trunk/extragear/graphics/kst/plugins/fits/polynomial_weighted/kstfit_polynomial_weighted.cpp #481014:481015
@@ -43,10 +43,13 @@
}
int parameterName(int iIndex, char** pName) {
+#if 0
char name[20];
sprintf( name, "x^%d", iIndex );
*pName = strdup( name );
return 1;
-}
\ No newline at end of file
+#endif
+ return 0;
+}
More information about the Kst
mailing list