mirror of https://gitee.com/bigwinds/arangodb
issue #145: added epsilon
This commit is contained in:
parent
f6c97d6b62
commit
de5ff8d64c
|
@ -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
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue