[Kst] extragear/graphics/kst/plugins/fits/polynomial_weighted
Andrew Walker
arwalker at sumusltd.com
Mon Nov 21 20:02:46 CET 2005
SVN commit 482103 by arwalker:
Apply fix for infinite loop with polynomials
M +2 -4 kstfit_polynomial_weighted.cpp
--- trunk/extragear/graphics/kst/plugins/fits/polynomial_weighted/kstfit_polynomial_weighted.cpp #482102:482103
@@ -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