mailr4725 - /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 15, 2008 - 11:32:
Author: bugman
Date: Tue Jan 15 11:32:39 2008
New Revision: 4725

URL: http://svn.gna.org/viewcvs/relax?rev=4725&view=rev
Log:
Modified the linear_constraints() method to call param_num() to get the 
number of params.


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=4725&r1=4724&r2=4725&view=diff
==============================================================================
--- branches/N_state_model/specific_fns/n_state_model.py (original)
+++ branches/N_state_model/specific_fns/n_state_model.py Tue Jan 15 11:32:39 
2008
@@ -123,8 +123,7 @@
         # Initialisation (0..j..m).
         A = []
         b = []
-        n = len(cdp.params)
-        zero_array = zeros(n, float64)
+        zero_array = zeros(self.param_num(), float64)
         i = 0
         j = 0
 




Related Messages


Powered by MHonArc, Updated Tue Jan 15 11:40:06 2008