mailr10057 - /1.3/data/align_tensor.py


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

Header


Content

Posted by edward on December 04, 2009 - 17:16:
Author: bugman
Date: Fri Dec  4 17:16:57 2009
New Revision: 10057

URL: http://svn.gna.org/viewcvs/relax?rev=10057&view=rev
Log:
Cut and paste bug fix for the alignment tensor diagonalisation function 
calc_A_diag().


Modified:
    1.3/data/align_tensor.py

Modified: 1.3/data/align_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/data/align_tensor.py?rev=10057&r1=10056&r2=10057&view=diff
==============================================================================
--- 1.3/data/align_tensor.py (original)
+++ 1.3/data/align_tensor.py Fri Dec  4 17:16:57 2009
@@ -143,6 +143,9 @@
     tensor_diag[2, 2] = vals[Azz_index]
 
     # Return the tensor.
+    return tensor_diag
+
+
 def calc_Axxyy(Axx, Ayy):
     """Function for calculating the Axx-yy value.
 
@@ -179,9 +182,6 @@
 
     # Calculate and return the Azz value.
     return - Axx - Ayy
-
-
-    return tensor_diag
 
 
 def calc_eigvals(A):




Related Messages


Powered by MHonArc, Updated Fri Dec 04 17:40:02 2009