Author: bugman Date: Mon Jun 16 17:53:11 2014 New Revision: 23981 URL: http://svn.gna.org/viewcvs/relax?rev=23981&view=rev Log: Fix for the fix of r23978, the theta_x angle should be checked for zero as it is the smallest. Modified: branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse_torsionless.py Modified: branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse_torsionless.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse_torsionless.py?rev=23981&r1=23980&r2=23981&view=diff ============================================================================== --- branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse_torsionless.py (original) +++ branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse_torsionless.py Mon Jun 16 17:53:11 2014 @@ -50,7 +50,7 @@ """ # The surface area normalisation factor. - if theta_y == 0.0: + if theta_x == 0.0: fact = 0.0 else: fact = 1.0 / (6.0 * pec(theta_x, theta_y))