mailr5814 - /1.3/generic_fns/structure/geometric.py


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

Header


Content

Posted by edward on April 18, 2008 - 14:17:
Author: bugman
Date: Fri Apr 18 14:17:16 2008
New Revision: 5814

URL: http://svn.gna.org/viewcvs/relax?rev=5814&view=rev
Log:
Converted the uniform vector distribution object into a list of numpy float64 
arrays.


Modified:
    1.3/generic_fns/structure/geometric.py

Modified: 1.3/generic_fns/structure/geometric.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/geometric.py?rev=5814&r1=5813&r2=5814&view=diff
==============================================================================
--- 1.3/generic_fns/structure/geometric.py (original)
+++ 1.3/generic_fns/structure/geometric.py Fri Apr 18 14:17:16 2008
@@ -761,7 +761,7 @@
             z = cos(phi[j])
 
             # Append the vector.
-            vectors.append([x, y, z])
+            vectors.append(array([x, y, z], float64))
 
     # Return the array of vectors.
     return vectors




Related Messages


Powered by MHonArc, Updated Sat Apr 19 12:40:15 2008