Author: tlinnet Date: Wed Jun 11 14:55:32 2014 New Revision: 23836 URL: http://svn.gna.org/viewcvs/relax?rev=23836&view=rev Log: Clean up of comment lines. 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=23836&r1=23835&r2=23836&view=diff ============================================================================== --- branches/disp_spin_speed/lib/dispersion/cr72.py (original) +++ branches/disp_spin_speed/lib/dispersion/cr72.py Wed Jun 11 14:55:32 2014 @@ -171,11 +171,7 @@ # Catch math domain error of cosh(val > 710). # This is when etapos > 710. if max(etapos) > 700: - # For higher dimensions, find the mask to replace values. - # Reset to 1.0 and wait for replacement to later. - # Set the flag to tell to replace values. t_max_etapos = True - # Find the mask, where to replace values. mask_max_etapos = masked_greater_equal(etapos, 700.0) # To prevent math errors, set etapos to 1. etapos[mask_max_etapos.mask] = 1.0 @@ -208,7 +204,7 @@ else: R2eff[mask_max_etapos.mask] = r20a[mask_max_etapos.mask] - # If fact < 1.0 + # If fact < 1.0. if t_min_fact: if isinstance(r20a, float): back_calc[:] = array([r20a]*num_points)