Author: bugman Date: Tue Aug 26 10:23:05 2014 New Revision: 25266 URL: http://svn.gna.org/viewcvs/relax?rev=25266&view=rev Log: Clean up of the target function C files (spacing fixes and removal of unused code). Modified: trunk/target_functions/exponential.c trunk/target_functions/relax_fit.c Modified: trunk/target_functions/exponential.c URL: http://svn.gna.org/viewcvs/relax/trunk/target_functions/exponential.c?rev=25266&r1=25265&r2=25266&view=diff ============================================================================== --- trunk/target_functions/exponential.c (original) +++ trunk/target_functions/exponential.c Tue Aug 26 10:23:05 2014 @@ -32,9 +32,7 @@ /* Declarations */ int i; - /* Loop over the time points */ - /* for (i = 0; i < num_times; i++) { */ for (i = 0; i < num_times; i++) { /* Zero Rx value */ if (params[0] == 0.0) @@ -54,9 +52,7 @@ /* Declarations */ int i; - /* Loop over the time points */ - /* for (i = 0; i < num_times; i++) { */ for (i = 0; i < num_times; i++) { /* Zero Rx value */ if (params[0] == 0.0) @@ -76,9 +72,7 @@ /* Declarations */ int i; - /* Loop over the time points */ - /* for (i = 0; i < num_times; i++) { */ for (i = 0; i < num_times; i++) { /* Zero Rx value */ if (params[0] == 0.0) Modified: trunk/target_functions/relax_fit.c URL: http://svn.gna.org/viewcvs/relax/trunk/target_functions/relax_fit.c?rev=25266&r1=25265&r2=25266&view=diff ============================================================================== --- trunk/target_functions/relax_fit.c (original) +++ trunk/target_functions/relax_fit.c Tue Aug 26 10:23:05 2014 @@ -27,6 +27,7 @@ #include "c_chi2.h" #include "exponential.h" + static PyObject * setup(PyObject *self, PyObject *args, PyObject *keywords) { /* Set up the module in preparation for calls to the target function. */