Author: bugman Date: Tue Jan 15 14:04:45 2008 New Revision: 4740 URL: http://svn.gna.org/viewcvs/relax?rev=4740&view=rev Log: Passed in the correct data structures into N_state_opt. 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=4740&r1=4739&r2=4740&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 14:04:45 2008 @@ -223,7 +223,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, data=cdp.align_tensor, errors=tensor_err) + model = N_state_opt(init_params=param_vector, data=red_tensor_elem, errors=red_tensor_err) # Setup the minimisation algorithm when constraints are present. if constraints and not search('^[Gg]rid', min_algor):