[geos-commits] r2372 - trunk/source/algorithm

svn_geos at osgeo.org svn_geos at osgeo.org
Wed Apr 15 08:56:08 EDT 2009


Author: strk
Date: 2009-04-15 08:56:08 -0400 (Wed, 15 Apr 2009)
New Revision: 2372

Modified:
   trunk/source/algorithm/HCoordinate.cpp
Log:
typo in disabled section

Modified: trunk/source/algorithm/HCoordinate.cpp
===================================================================
--- trunk/source/algorithm/HCoordinate.cpp	2009-04-15 11:17:29 UTC (rev 2371)
+++ trunk/source/algorithm/HCoordinate.cpp	2009-04-15 12:56:08 UTC (rev 2372)
@@ -82,7 +82,7 @@
 
 	if ( (!FINITE(xInt)) || (!FINITE(yInt)) )
 	{
-		throw new NotRepresentableException();
+		throw NotRepresentableException();
 	}
 
 	ret = Coordinate(xInt, yInt);
@@ -208,7 +208,7 @@
 	//if (std::fabs(a) > std::numeric_limits<double>::max())
 	if ( !FINITE(a) )
 	{
-		throw  NotRepresentableException();
+		throw NotRepresentableException();
 	}
 	return a;
 }



More information about the geos-commits mailing list