[cig-commits] r4982 - in long/3D/Gale/trunk: . src/StGermain/Discretisation/Geometry/src

walter at geodynamics.org walter at geodynamics.org
Fri Oct 13 04:20:41 PDT 2006


Author: walter
Date: 2006-10-13 04:20:40 -0700 (Fri, 13 Oct 2006)
New Revision: 4982

Modified:
   long/3D/Gale/trunk/
   long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/src/ComplexMath.c
Log:
 r915 at earth:  boo | 2006-10-13 04:20:28 -0700
 Change M_PI_2 to M_PI/2 for c89 compliance



Property changes on: long/3D/Gale/trunk
___________________________________________________________________
Name: svk:merge
   - 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:912
   + 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:915

Modified: long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/src/ComplexMath.c
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/src/ComplexMath.c	2006-10-13 11:15:32 UTC (rev 4981)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/src/ComplexMath.c	2006-10-13 11:20:40 UTC (rev 4982)
@@ -155,8 +155,8 @@
 		undefined if b == 0.0 
 		-\pi/2    if b < 0.0 */
 	else {
-		if      ( b > 0.0 ) return  M_PI_2;
-		else if ( b < 0.0 ) return -M_PI_2;
+		if      ( b > 0.0 ) return  M_PI/2;
+		else if ( b < 0.0 ) return -M_PI/2;
 		else                return  0.0;
 	}
 }



More information about the cig-commits mailing list