Author: bugman Date: Wed Aug 11 23:14:14 2010 New Revision: 11477 URL: http://svn.gna.org/viewcvs/relax?rev=11477&view=rev Log: Made the test_compile_2nd_matrix_pseudo_ellipse_free_rotor_point2() unit test less stringent. The matrix is not very precise. Modified: 1.3/test_suite/unit_tests/_maths_fns/test_frame_order_matrix_ops.py Modified: 1.3/test_suite/unit_tests/_maths_fns/test_frame_order_matrix_ops.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_maths_fns/test_frame_order_matrix_ops.py?rev=11477&r1=11476&r2=11477&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/_maths_fns/test_frame_order_matrix_ops.py (original) +++ 1.3/test_suite/unit_tests/_maths_fns/test_frame_order_matrix_ops.py Wed Aug 11 23:14:14 2010 @@ -755,7 +755,7 @@ [ 0.3459, -0.0245, 0.0491, -0.0245, 0.3081, -0.0244, 0.0491, -0.0244, 0.3460]], float64) # Init. - x = pi/4.0 + x = pi / 4.0 y = 150.0 / 360.0 * 2.0 * pi # Calculate the matrix. @@ -770,7 +770,7 @@ for i in range(9): for j in range(9): print "Element %s, %s." % (i, j) - self.assert_(abs(f2[i, j] - real[i, j]) < 1e-3) + self.assert_(abs(f2[i, j] - real[i, j]) < 1e-2) def test_compile_2nd_matrix_pseudo_ellipse_free_rotor_restriction_test(self):