Author: bugman Date: Wed Jan 16 18:06:14 2008 New Revision: 4800 URL: http://svn.gna.org/viewcvs/relax?rev=4800&view=rev Log: The probability and Euler angle arrays are now initialised by the model_setup() function. 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=4800&r1=4799&r2=4800&view=diff ============================================================================== --- branches/N_state_model/specific_fns/n_state_model.py (original) +++ branches/N_state_model/specific_fns/n_state_model.py Wed Jan 16 18:06:14 2008 @@ -422,6 +422,12 @@ cdp.params.append('beta' + `i`) cdp.params.append('gamma' + `i`) + # Initialise the probability and Euler angle arrays. + cdp.probs = [None] * cdp.N + cdp.alpha = [None] * cdp.N + cdp.beta = [None] * cdp.N + cdp.gamma = [None] * cdp.N + def param_num(self): """Function for determining the number of parameters in the model.