mailr4807 - /branches/N_state_model/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 January 17, 2008 - 10:52:
Author: bugman
Date: Thu Jan 17 10:52:40 2008
New Revision: 4807

URL: http://svn.gna.org/viewcvs/relax?rev=4807&view=rev
Log:
Bug fix for the N-state model assemble_param_vector() method.

The sim_index arg is now a keyword arg which defaults to None.  This arg is 
not required.


Modified:
    branches/N_state_model/specific_fns/n_state_model.py

Modified: branches/N_state_model/specific_fns/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/N_state_model/specific_fns/n_state_model.py?rev=4807&r1=4806&r2=4807&view=diff
==============================================================================
--- branches/N_state_model/specific_fns/n_state_model.py (original)
+++ branches/N_state_model/specific_fns/n_state_model.py Thu Jan 17 10:52:40 
2008
@@ -37,7 +37,7 @@
 class N_state_model(Common_functions):
     """Class containing functions for the N-state model."""
 
-    def assemble_param_vector(self, sim_index):
+    def assemble_param_vector(self, sim_index=None):
         """Assemble all the parameters of the model into a single array.
 
         @param sim_index:       The index of the simulation to optimise.  
This should be None if




Related Messages


Powered by MHonArc, Updated Thu Jan 17 11:00:17 2008