Author: bugman Date: Wed Oct 12 17:28:48 2011 New Revision: 14847 URL: http://svn.gna.org/viewcvs/relax?rev=14847&view=rev Log: One last fix for the setup of the N-state model target functions. Modified: 1.3/maths_fns/n_state_model.py Modified: 1.3/maths_fns/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/1.3/maths_fns/n_state_model.py?rev=14847&r1=14846&r2=14847&view=diff ============================================================================== --- 1.3/maths_fns/n_state_model.py (original) +++ 1.3/maths_fns/n_state_model.py Wed Oct 12 17:28:48 2011 @@ -254,10 +254,12 @@ # Set up the alignment data. self.num_align_params = 0 + index = 0 for i in range(self.num_align): # Fill the alignment tensor object with the fixed tensors. if fixed_tensors[i]: - to_tensor(self.A[i], self.full_tensors[5*i:5*i+5]) + to_tensor(self.A[i], self.full_tensors[5*index:5*index+5]) + index += 1 # The number of alignment parameters. if not fixed_tensors[i]: