Author: bugman Date: Sun Feb 21 15:44:45 2010 New Revision: 10789 URL: http://svn.gna.org/viewcvs/relax?rev=10789&view=rev Log: Bug fix for the test_R_to_axis_angle_180_complex() for MS Windows. self.assertAlmostEquals() has to be used do to precision issues. 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=10789&r1=10788&r2=10789&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 Sun Feb 21 15:44:45 2010 @@ -615,7 +615,7 @@ axis, angle = R_to_axis_angle(R) # Test the angle. - self.assertEqual(angle, 2 * pi / 3) + self.assertAlmostEqual(angle, 2 * pi / 3) # Test the vector. for i in range(3):