Author: bugman Date: Wed Aug 11 12:31:29 2010 New Revision: 11467 URL: http://svn.gna.org/viewcvs/relax?rev=11467&view=rev Log: Another numerical simplification to tmax_pseudo_ellipse(). Modified: 1.3/maths_fns/frame_order_matrix_ops.py Modified: 1.3/maths_fns/frame_order_matrix_ops.py URL: http://svn.gna.org/viewcvs/relax/1.3/maths_fns/frame_order_matrix_ops.py?rev=11467&r1=11466&r2=11467&view=diff ============================================================================== --- 1.3/maths_fns/frame_order_matrix_ops.py (original) +++ 1.3/maths_fns/frame_order_matrix_ops.py Wed Aug 11 12:31:29 2010 @@ -1367,4 +1367,4 @@ return 0.0 # Return the maximum angle. - return sqrt(theta_x**2 * theta_y**2 / (cos(phi)**2*theta_y**2 + sin(phi)**2*theta_x**2)) + return theta_x * theta_y / sqrt((cos(phi)*theta_y)**2 + (sin(phi)*theta_x)**2)