Author: bugman Date: Wed Jan 16 09:23:59 2008 New Revision: 4764 URL: http://svn.gna.org/viewcvs/relax?rev=4764&view=rev Log: The value of N is now passed into N_state_opt.__init__(). 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=4764&r1=4763&r2=4764&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 09:23:59 2008 @@ -275,7 +275,7 @@ red_tensor_err = array(red_tensor_err, float64) # Set up the class instance containing the target function. - model = N_state_opt(init_params=param_vector, red_data=red_tensor_elem, red_errors=red_tensor_err) + model = N_state_opt(N=cdp.N, init_params=param_vector, red_data=red_tensor_elem, red_errors=red_tensor_err) # Minimisation. if constraints: