diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2014-09-30 20:26:32 -0400 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2014-10-02 15:16:01 -0400 |
commit | ff2e3734f1dd4f3e9b3bd6b6349fb9d56801debc (patch) | |
tree | 63486979ac7964dfe772111790267685b8fd750e /src/mongo/db/geo/hash.cpp | |
parent | 76bdc368ab62f4341fd9c24928ab8af80f7130d3 (diff) | |
download | mongo-ff2e3734f1dd4f3e9b3bd6b6349fb9d56801debc.tar.gz |
SERVER-15451 Adaptive initial shell in near query with 2d index
Diffstat (limited to 'src/mongo/db/geo/hash.cpp')
-rw-r--r-- | src/mongo/db/geo/hash.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/geo/hash.cpp b/src/mongo/db/geo/hash.cpp index baee21d2f4b..57996e0ba1e 100644 --- a/src/mongo/db/geo/hash.cpp +++ b/src/mongo/db/geo/hash.cpp @@ -690,6 +690,7 @@ namespace mongo { return distanceBetweenHashes(a, b); } + // TODO: Use ldexp(max - min, -level) double GeoHashConverter::sizeEdge(const GeoHash& a) const { if (!a.constrains()) return _params.max - _params.min; |