mailr9202 - in /1.3: prompt/num_types.py test_suite/unit_tests/_prompt/data_types.py


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

Header


Content

Posted by edward on July 13, 2009 - 10:08:
Author: bugman
Date: Mon Jul 13 10:08:16 2009
New Revision: 9202

URL: http://svn.gna.org/viewcvs/relax?rev=9202&view=rev
Log:
Removed all usages of float128, as this type is not present on all machines.

This was reported by Sebastian Morin in the post:
https://mail.gna.org/public/relax-devel/2009-07/msg00000.html (Message-id:
<4A5A7338.4030500@xxxxxxxxx>).


Modified:
    1.3/prompt/num_types.py
    1.3/test_suite/unit_tests/_prompt/data_types.py

Modified: 1.3/prompt/num_types.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/prompt/num_types.py?rev=9202&r1=9201&r2=9202&view=diff
==============================================================================
--- 1.3/prompt/num_types.py (original)
+++ 1.3/prompt/num_types.py Mon Jul 13 10:08:16 2009
@@ -24,9 +24,9 @@
 """Module containing number type lists for argument checks."""
 
 # Python module imports.
-from numpy import int8, int16, int32, int64, float32, float64, float128
+from numpy import int8, int16, int32, int64, float32, float64
 
 
 # The lists.
 int_list = [int, int8, int16, int32]
-float_list = [float, float32, float64, float128]
+float_list = [float, float32, float64]

Modified: 1.3/test_suite/unit_tests/_prompt/data_types.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_prompt/data_types.py?rev=9202&r1=9201&r2=9202&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_prompt/data_types.py (original)
+++ 1.3/test_suite/unit_tests/_prompt/data_types.py Mon Jul 13 10:08:16 2009
@@ -21,7 +21,7 @@
 
###############################################################################
 
 # Python module imports.
-from numpy import int8, int16, int32, int64, float32, float64, float128, 
zeros
+from numpy import int8, int16, int32, int64, float32, float64, zeros
 from os import tmpfile
 
 
@@ -87,7 +87,6 @@
 # Numpy floats.
 DATA_TYPES.append(['float', zeros(2, float32)[0]])
 DATA_TYPES.append(['float', zeros(2, float64)[0]])
-DATA_TYPES.append(['float', zeros(2, float128)[0]])
 
 # Functions.
 DATA_TYPES.append(['function', dummy_fn])




Related Messages


Powered by MHonArc, Updated Mon Jul 13 15:20:05 2009