Author: tlinnet Date: Fri Jun 6 17:37:50 2014 New Revision: 23707 URL: http://svn.gna.org/viewcvs/relax?rev=23707&view=rev Log: Fix for the wrong unpacking of R20A and R20B in model NS CPMG 2SITE STAR full model. bug #22146: (https://gna.org/bugs/?22146) Unpacking of R2A and R2B is performed wrong for clustered "full" dispersion models. Modified: trunk/target_functions/relax_disp.py Modified: trunk/target_functions/relax_disp.py URL: http://svn.gna.org/viewcvs/relax/trunk/target_functions/relax_disp.py?rev=23707&r1=23706&r2=23707&view=diff ============================================================================== --- trunk/target_functions/relax_disp.py (original) +++ trunk/target_functions/relax_disp.py Fri Jun 6 17:37:50 2014 @@ -1537,8 +1537,9 @@ params = dot(params, self.scaling_matrix) # Unpack the parameter values. - R20A = params[:self.end_index[0]] - R20B = params[self.end_index[0]:self.end_index[1]] + R20 = params[:self.end_index[1]].reshape(self.num_spins*2, self.num_frq) + R20A = R20[::2].flatten() + R20B = R20[1::2].flatten() dw = params[self.end_index[1]:self.end_index[2]] pA = params[self.end_index[2]] kex = params[self.end_index[2]+1]