mailr23739 - /branches/disp_spin_speed/target_functions/relax_disp.py


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

Header


Content

Posted by tlinnet on June 08, 2014 - 19:48:
Author: tlinnet
Date: Sun Jun  8 19:48:38 2014
New Revision: 23739

URL: http://svn.gna.org/viewcvs/relax?rev=23739&view=rev
Log:
Changed that special numpy structure is also created for "CR72".

This makes most system tests pass.

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

Modified:
    branches/disp_spin_speed/target_functions/relax_disp.py

Modified: branches/disp_spin_speed/target_functions/relax_disp.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/disp_spin_speed/target_functions/relax_disp.py?rev=23739&r1=23738&r2=23739&view=diff
==============================================================================
--- branches/disp_spin_speed/target_functions/relax_disp.py     (original)
+++ branches/disp_spin_speed/target_functions/relax_disp.py     Sun Jun  8 
19:48:38 2014
@@ -395,7 +395,7 @@
             self.func = self.func_ns_mmq_3site_linear
 
         # Setup special numpy array structures, for higher dimensional 
computation.
-        if model == MODEL_CR72_FULL:
+        if model in [MODEL_CR72, MODEL_CR72_FULL]:
             # Get the shape of back_calc structure.
             # If using just one field, or having the same number of 
dispersion points, the shape would extend to that number.
             # Shape has to be: [ei][si][mi][oi].




Related Messages


Powered by MHonArc, Updated Sun Jun 08 22:40:02 2014