summaryrefslogtreecommitdiff
path: root/db/geo
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2010-08-16 18:52:57 -0400
committerMathias Stearn <mathias@10gen.com>2010-08-24 14:06:47 -0400
commit54572e15b6c8f0484932da032ff9a3b1db8a9a7d (patch)
tree69d3fa600c657fca93ac2b8e020a783d27f9124a /db/geo
parente5ef00a5150169925122d312859475e59a2ebb8d (diff)
downloadmongo-54572e15b6c8f0484932da032ff9a3b1db8a9a7d.tar.gz
error codes
Diffstat (limited to 'db/geo')
-rw-r--r--db/geo/2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/geo/2d.cpp b/db/geo/2d.cpp
index 11c1a7a39f4..4e0d3aa3e5f 100644
--- a/db/geo/2d.cpp
+++ b/db/geo/2d.cpp
@@ -1145,7 +1145,7 @@ namespace mongo {
// current algorithm scans more buckets as you get further from equator
uassert(13437, "Spherical distance is currently limited to latitudes from 80S to 80N",
_startPt._y >= -80 && _startPt._y <= 80);
- uassert(13438, "Spherical MaxDistance > PI. Are you sure you are using radians?", _maxDistance < (M_PI*1.05));
+ uassert(13439, "Spherical MaxDistance > PI. Are you sure you are using radians?", _maxDistance < (M_PI*1.05));
_type = GEO_SPHERE;
_xScanDistance = rad2deg(_maxDistance);