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