mailr9030 - /1.3/specific_fns/n_state_model.py


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

Header


Content

Posted by edward on April 28, 2009 - 19:45:
Author: bugman
Date: Tue Apr 28 19:45:17 2009
New Revision: 9030

URL: http://svn.gna.org/viewcvs/relax?rev=9030&view=rev
Log:
Fixed a bug introduced at r9029.

The removal of the 'Method of Multipliers' algorithm with automatic 
constraint removal didn't take
the grid search into account.


Modified:
    1.3/specific_fns/n_state_model.py

Modified: 1.3/specific_fns/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/n_state_model.py?rev=9030&r1=9029&r2=9030&view=diff
==============================================================================
--- 1.3/specific_fns/n_state_model.py (original)
+++ 1.3/specific_fns/n_state_model.py Tue Apr 28 19:45:17 2009
@@ -1382,8 +1382,9 @@
             constraints = False
 
             # Pop out the Method of Multipliers algorithm.
-            min_algor = min_options[0]
-            min_options = min_options[1:]
+            if min_algor == 'Method of Multipliers':
+                min_algor = min_options[0]
+                min_options = min_options[1:]
 
         # Update the model parameters if necessary.
         self.__update_model()




Related Messages


Powered by MHonArc, Updated Wed Apr 29 11:00:05 2009