mailr9470 - /1.3/test_suite/unit_tests/_maths_fns/test_rotation_matrix.py


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

Header


Content

Posted by edward on September 08, 2009 - 11:26:
Author: bugman
Date: Tue Sep  8 11:26:37 2009
New Revision: 9470

URL: http://svn.gna.org/viewcvs/relax?rev=9470&view=rev
Log:
Fixes for the R_euler_zyz() unit tests.


Modified:
    1.3/test_suite/unit_tests/_maths_fns/test_rotation_matrix.py

Modified: 1.3/test_suite/unit_tests/_maths_fns/test_rotation_matrix.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_maths_fns/test_rotation_matrix.py?rev=9470&r1=9469&r2=9470&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_maths_fns/test_rotation_matrix.py (original)
+++ 1.3/test_suite/unit_tests/_maths_fns/test_rotation_matrix.py Tue Sep  8 
11:26:37 2009
@@ -83,7 +83,7 @@
         # Rotated axis (real values).
         x_real = array([-cos(pi/6), -sin(pi/6), 0], float64)
         y_real = array([sin(pi/6), -cos(pi/6), 0], float64)
-        z_real = array([0, 0, 1], float64)
+        z_real = array([0, 0, -1], float64)
 
         # Rotation.
         x_new = dot(R, x_axis)
@@ -219,7 +219,7 @@
         # Rotated axis (real values).
         x_real = array([-cos(pi/12), -sin(pi/12), 0], float64)
         y_real = array([sin(pi/12), -cos(pi/12), 0], float64)
-        z_real = array([0, 0, 1], float64)
+        z_real = array([0, 0, -1], float64)
 
         # Rotation.
         x_new = dot(R, x_axis)
@@ -286,7 +286,7 @@
         # Rotated axis (real values).
         x_real = array([-cos(pi/6), -sin(pi/6), 0], float64)
         y_real = array([sin(pi/6), -cos(pi/6), 0], float64)
-        z_real = array([0, 0, 1], float64)
+        z_real = array([0, 0, -1], float64)
 
         # Rotation.
         x_new = dot(R, x_axis)




Related Messages


Powered by MHonArc, Updated Tue Sep 08 11:40:01 2009