Author: tlinnet Date: Tue May 27 12:26:20 2014 New Revision: 23456 URL: http://svn.gna.org/viewcvs/relax?rev=23456&view=rev Log: Critical fix for the math domain catching of model TP02. The cathing of errors for off-resonance R1rho models was implemented wrong. This was pointed out in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5938. Modified: branches/disp_speed/lib/dispersion/tp02.py Modified: branches/disp_speed/lib/dispersion/tp02.py URL: http://svn.gna.org/viewcvs/relax/branches/disp_speed/lib/dispersion/tp02.py?rev=23456&r1=23455&r2=23456&view=diff ============================================================================== --- branches/disp_speed/lib/dispersion/tp02.py (original) +++ branches/disp_speed/lib/dispersion/tp02.py Tue May 27 12:26:20 2014 @@ -124,7 +124,7 @@ # Catch zeros (to avoid pointless mathematical operations). # This will result in no exchange, returning flat lines. if numer == 0.0: - return array([r1rho_prime]*num_points) + return R1_cos_theta2 + R1rho_prime_sin_theta2 # Denominator. denom = waeff2 * wbeff2 / weff2 + kex2