Author: bugman Date: Fri Apr 5 18:50:46 2013 New Revision: 19395 URL: http://svn.gna.org/viewcvs/relax?rev=19395&view=rev Log: Fix for the target_functions.relax_fit C module - the scaling was incorrectly performed. 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=19395&r1=19394&r2=19395&view=diff ============================================================================== --- trunk/target_functions/relax_fit.c (original) +++ trunk/target_functions/relax_fit.c Fri Apr 5 18:50:46 2013 @@ -121,7 +121,7 @@ params[i] = PyFloat_AsDouble(element); /* Scale the parameter */ - params[i] = params[i] * scaling_matrix[i, i]; + params[i] = params[i] * scaling_matrix[i]; } /* Back calculated the peak intensities */