[Kst] extragear/graphics/kst/plugins/fits/polynomial_unweighted
Andrew Walker
arwalker at sumusltd.com
Mon Nov 21 20:03:17 CET 2005
SVN commit 482104 by arwalker:
Apply fix for infinite loop with polynomials
M +2 -4 kstfit_polynomial_unweighted.cpp
--- trunk/extragear/graphics/kst/plugins/fits/polynomial_unweighted/kstfit_polynomial_unweighted.cpp #482103:482104
@@ -42,14 +42,12 @@
return iRetVal;
}
-int parameterName(int iIndex, char** pName) {
-#if 0
+int parameterName(int iIndex, char** pName)
+{
char name[20];
sprintf( name, "x^%d", iIndex );
*pName = strdup( name );
return 1;
-#endif
- return 0;
}
More information about the Kst
mailing list