Author: bugman Date: Sat Oct 11 22:36:49 2008 New Revision: 7610 URL: http://svn.gna.org/viewcvs/relax?rev=7610&view=rev Log: Bug fix for the minimisation set() function. The variable 'index' no longer exists as it is replace by the SpinContainer instance. Modified: 1.3/generic_fns/minimise.py Modified: 1.3/generic_fns/minimise.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/minimise.py?rev=7610&r1=7609&r2=7610&view=diff ============================================================================== --- 1.3/generic_fns/minimise.py (original) +++ 1.3/generic_fns/minimise.py Sat Oct 11 22:36:49 2008 @@ -420,7 +420,7 @@ param_name = return_data_name(param) # Global minimisation stats. - if index == None: + if spin == None: # Chi-squared. if param_name == 'chi2': cdp.chi2 = value