[Kst] kdeextragear-2/kst/plugins/fits

Andrew Walker arwalker at sumusltd.com
Wed Jul 14 01:38:57 CEST 2004


CVS commit by arwalker: 

Give parameter names for linear fits.


  M +6 -0      common.h   1.2
  M +0 -2      linear.h   1.3


--- kdeextragear-2/kst/plugins/fits/common.h  #1.1:1.2
@@ -15,4 +15,8 @@
  ***************************************************************************/
 
+#include <stdlib.h>
+#include <string.h>
+#include <math.h>
+
 #define XVALUES                 0
 #define YVALUES                 1
@@ -29,4 +33,6 @@
 #define CHI2NU      0
 
+#define KST_UNUSED(x) if(x){};
+
 void assign( double* outArrays[], int outArrayLens[], double* pResult[], int iIndex, int iLength ) {
   outArrays[iIndex]    = pResult[iIndex];

--- kdeextragear-2/kst/plugins/fits/linear.h  #1.2:1.3
@@ -5,6 +5,4 @@
  */
 
-#include <stdlib.h>
-#include <math.h>
 #include <gsl/gsl_multifit.h>
 #include "common.h"





More information about the Kst mailing list