mailr8076 - /branches/spectral_errors/maths_fns/relax_fit.c


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on December 01, 2008 - 10:59:
Author: bugman
Date: Mon Dec  1 10:59:51 2008
New Revision: 8076

URL: http://svn.gna.org/viewcvs/relax?rev=8076&view=rev
Log:
Some whitespace cleanups.


Modified:
    branches/spectral_errors/maths_fns/relax_fit.c

Modified: branches/spectral_errors/maths_fns/relax_fit.c
URL: 
http://svn.gna.org/viewcvs/relax/branches/spectral_errors/maths_fns/relax_fit.c?rev=8076&r1=8075&r2=8076&view=diff
==============================================================================
--- branches/spectral_errors/maths_fns/relax_fit.c (original)
+++ branches/spectral_errors/maths_fns/relax_fit.c Mon Dec  1 10:59:51 2008
@@ -41,21 +41,19 @@
     extern double *values, *sd, *relax_times, *scaling_matrix;
     extern double relax_time_array;
     extern int num_params, num_times;
-            
+
     /* The keyword list */
     static char *keyword_list[] = {"num_params", "num_times", "values", 
"sd", "relax_times", "scaling_matrix", NULL};
 
     /* Parse the function arguments */
     if (!PyArg_ParseTupleAndKeywords(args, keywords, "iiOOOO", keyword_list, 
&num_params, &num_times, &values_arg, &sd_arg, &relax_times_arg, 
&scaling_matrix_arg))
         return NULL;
-    
 
-        
-    Py_XDECREF(numpy_values);    
+    Py_XDECREF(numpy_values);
     Py_XDECREF(numpy_sd);
     Py_XDECREF(numpy_relax_times);
     Py_XDECREF(numpy_scaling_matrix);
-             
+
     /* Make the numpy arrays contiguous */
     numpy_values = (PyArrayObject *) 
PyArray_ContiguousFromObject(values_arg, PyArray_DOUBLE, 1, 1);
     numpy_sd = (PyArrayObject *) PyArray_ContiguousFromObject(sd_arg, 
PyArray_DOUBLE, 1, 1);
@@ -120,7 +118,7 @@
     double aaa[MAXPARAMS] = {1.0, 2.0};
     double *aaa_pointer;
     int i;
-    double* params; 
+    double* params;
 
     /* Parse the function arguments, the only argument should be the 
parameter array */
     if (!PyArg_ParseTuple(args, "O", &arg1))




Related Messages


Powered by MHonArc, Updated Mon Dec 01 16:00:02 2008