[cig-commits] r5136 - in long/3D/Gale/trunk/src/StGermain: .
Discretisation/Geometry/src
walter at geodynamics.org
walter at geodynamics.org
Tue Oct 31 13:30:00 PST 2006
Author: walter
Date: 2006-10-31 13:29:59 -0800 (Tue, 31 Oct 2006)
New Revision: 5136
Modified:
long/3D/Gale/trunk/src/StGermain/
long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/src/Delaunay.c
Log:
r3122 at earth: boo | 2006-10-31 13:26:14 -0800
r3100 at earth (orig r3877): KathleenHumble | 2006-10-25 18:19:57 -0700
changing the definition of infinity
from 1e500L to LONG_MAX to remove
pointer size warnings on SGI cluster, apac
Property changes on: long/3D/Gale/trunk/src/StGermain
___________________________________________________________________
Name: svk:merge
- 1ef209d2-b310-0410-a72d-e20c9eb0015c:/cig:3121
afb6c753-b9d0-0310-b4e7-dbd8d91cdd35:/trunk/StGermain:3876
+ 1ef209d2-b310-0410-a72d-e20c9eb0015c:/cig:3122
afb6c753-b9d0-0310-b4e7-dbd8d91cdd35:/trunk/StGermain:3877
Modified: long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/src/Delaunay.c
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/src/Delaunay.c 2006-10-31 21:28:13 UTC (rev 5135)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/src/Delaunay.c 2006-10-31 21:29:59 UTC (rev 5136)
@@ -57,11 +57,12 @@
#include <assert.h>
#include <string.h>
#include <math.h>
+#include <limits.h>
const Type Delaunay_Type="Delaunay";
#if !defined INFINITY
- #define INFINITY 1e100L
+ #define INFINITY LONG_MAX
#endif
/*--------------------------------------------------------------------------------------------------------------------------
@@ -1059,4 +1060,3 @@
return delaunay->hull;
}
-
More information about the cig-commits
mailing list