Author: bugman Date: Wed Jul 9 15:42:16 2008 New Revision: 6886 URL: http://svn.gna.org/viewcvs/relax?rev=6886&view=rev Log: Fix for the N_state_opt class set up for the tensor optimisation. Modified: branches/rdc_analysis/specific_fns/n_state_model.py Modified: branches/rdc_analysis/specific_fns/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/specific_fns/n_state_model.py?rev=6886&r1=6885&r2=6886&view=diff ============================================================================== --- branches/rdc_analysis/specific_fns/n_state_model.py (original) +++ branches/rdc_analysis/specific_fns/n_state_model.py Wed Jul 9 15:42:16 2008 @@ -790,7 +790,7 @@ full_in_ref_frame = array(full_in_ref_frame, float64) # Set up the class instance containing the target function. - model = N_state_opt(N=cdp.N, init_params=param_vector, full_tensors=full_tensors, red_data=red_tensor_elem, red_errors=red_tensor_err, full_in_ref_frame=full_in_ref_frame) + model = N_state_opt(model=cdp.model, N=cdp.N, init_params=param_vector, full_tensors=full_tensors, red_data=red_tensor_elem, red_errors=red_tensor_err, full_in_ref_frame=full_in_ref_frame) # Return the instantiated class. return model