Author: bugman Date: Tue Aug 26 09:18:55 2014 New Revision: 25263 URL: http://svn.gna.org/viewcvs/relax?rev=25263&view=rev Log: Clean up of the end of the target_functions.relax_fit.dfunc() function. Modified: trunk/target_functions/relax_fit.c Modified: trunk/target_functions/relax_fit.c URL: http://svn.gna.org/viewcvs/relax/trunk/target_functions/relax_fit.c?rev=25263&r1=25262&r2=25263&view=diff ============================================================================== --- trunk/target_functions/relax_fit.c (original) +++ trunk/target_functions/relax_fit.c Tue Aug 26 09:18:55 2014 @@ -160,9 +160,8 @@ PyList_Append(list, PyFloat_FromDouble(dchi2_vals[i] * scaling_matrix[i])); } - /* Return the Jacobian */ + /* Return the gradient */ return list; - return NULL; } static PyObject *