1
0
Fork 0

issue #145: added epsilon

This commit is contained in:
Jan Steemann 2012-08-09 15:05:04 +02:00
parent f6c97d6b62
commit de5ff8d64c
2 changed files with 1 additions and 17 deletions

View File

@ -1250,22 +1250,6 @@ BOOST_AUTO_TEST_CASE (tst_geo1) {
runTest(1);
}
////////////////////////////////////////////////////////////////////////////////
/// @brief tst_geo2
////////////////////////////////////////////////////////////////////////////////
BOOST_AUTO_TEST_CASE (tst_geo2) {
runTest(2);
}
////////////////////////////////////////////////////////////////////////////////
/// @brief tst_geo3
////////////////////////////////////////////////////////////////////////////////
BOOST_AUTO_TEST_CASE (tst_geo3) {
runTest(3);
}
////////////////////////////////////////////////////////////////////////////////
/// @brief tst_geo4
////////////////////////////////////////////////////////////////////////////////

View File

@ -1117,7 +1117,7 @@ GeoCoordinates * GeoIndex_PointsWithinRadius(GeoIndex * gi,
{
slot=gp->points[i];
snmd=GeoSNMD(&gd,gix->gc+slot);
if(snmd>maxsnmd) continue;
if(snmd > (maxsnmd * 1.00000000000001)) continue;
r = GeoResultsGrow(gres);
if(r==-1)
{