mailr23833 - /branches/disp_spin_speed/lib/dispersion/cr72.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by tlinnet on June 11, 2014 - 14:05:
Author: tlinnet
Date: Wed Jun 11 14:05:37 2014
New Revision: 23833

URL: http://svn.gna.org/viewcvs/relax?rev=23833&view=rev
Log:
Bugfix for testing if kex is zero.

It was tested if kex was equal 1.0.

Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion 
models for Clustered analysis.

Modified:
    branches/disp_spin_speed/lib/dispersion/cr72.py

Modified: branches/disp_spin_speed/lib/dispersion/cr72.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/disp_spin_speed/lib/dispersion/cr72.py?rev=23833&r1=23832&r2=23833&view=diff
==============================================================================
--- branches/disp_spin_speed/lib/dispersion/cr72.py     (original)
+++ branches/disp_spin_speed/lib/dispersion/cr72.py     Wed Jun 11 14:05:37 
2014
@@ -128,7 +128,7 @@
 
     # Catch parameter values that will result in no exchange, returning flat 
R2eff = R20 lines (when kex = 0.0, k_AB = 0.0).
     # Test if pA or kex is zero.
-    if kex == 1.0 or pA == 1:
+    if kex == 0.0 or pA == 1.0:
             back_calc[:] = r20a
             return
 




Related Messages


Powered by MHonArc, Updated Wed Jun 11 15:00:02 2014