mailr19395 - /trunk/target_functions/relax_fit.c


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

Header


Content

Posted by edward on April 05, 2013 - 18:50:
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 */




Related Messages


Powered by MHonArc, Updated Fri Apr 05 19:20:01 2013