mailr18655 - /branches/frame_order_testing/maths_fns/frame_order/__init__.py


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

Header


Content

Posted by edward on March 05, 2013 - 21:32:
Author: bugman
Date: Tue Mar  5 21:32:54 2013
New Revision: 18655

URL: http://svn.gna.org/viewcvs/relax?rev=18655&view=rev
Log:
The Sobol' point data structure is now float32.

The float16 was used to help with data transfers for the multi-processor.  
However it has the
problem of producing different results on machines where numpy.float16 does 
not exist.  The single
precision is sufficient for the uni-processor operation.


Modified:
    branches/frame_order_testing/maths_fns/frame_order/__init__.py

Modified: branches/frame_order_testing/maths_fns/frame_order/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/maths_fns/frame_order/__init__.py?rev=18655&r1=18654&r2=18655&view=diff
==============================================================================
--- branches/frame_order_testing/maths_fns/frame_order/__init__.py (original)
+++ branches/frame_order_testing/maths_fns/frame_order/__init__.py Tue Mar  5 
21:32:54 2013
@@ -26,10 +26,6 @@
 from copy import deepcopy
 from math import acos, ceil, pi, sqrt
 from numpy import array, dot, float32, float64, ones, transpose, uint8, zeros
-try:
-    from numpy import float16
-except ImportError:
-    float16 = float32
 from numpy.linalg import norm
 
 # relax module imports.
@@ -1892,7 +1888,7 @@
         m = len(dims)
 
         # Initialise.
-        self.sobol_angles = zeros((n, m), float16)
+        self.sobol_angles = zeros((n, m), float32)
 
         # Loop over the points.
         for i in range(n):




Related Messages


Powered by MHonArc, Updated Tue Mar 05 22:00:02 2013