Author: tlinnet Date: Tue May 27 12:26:32 2014 New Revision: 23463 URL: http://svn.gna.org/viewcvs/relax?rev=23463&view=rev Log: Small fix for the math domain catching of model MMQ CR72. This was pointed out in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5940. And in post http://article.gmane.org/gmane.science.nmr.relax.devel/5946. Modified: branches/disp_speed/lib/dispersion/mmq_cr72.py Modified: branches/disp_speed/lib/dispersion/mmq_cr72.py URL: http://svn.gna.org/viewcvs/relax/branches/disp_speed/lib/dispersion/mmq_cr72.py?rev=23463&r1=23462&r2=23463&view=diff ============================================================================== --- branches/disp_speed/lib/dispersion/mmq_cr72.py (original) +++ branches/disp_speed/lib/dispersion/mmq_cr72.py Tue May 27 12:26:32 2014 @@ -85,7 +85,7 @@ """ # Catch parameter values that will result in no exchange, returning flat R2eff = R20 lines (when kex = 0.0, k_AB = 0.0). - if dw == 0.0 or pA == 1.0 or k_AB == 0.0 or dwH == 0.0: + if (dw == 0.0 and dwH == 0.0) or pA == 1.0 or k_AB == 0.0: return array([r20]*num_points) # Repetitive calculations (to speed up calculations).