diff options
author | Itamar Haber <itamar@redislabs.com> | 2016-02-18 15:00:39 -0800 |
---|---|---|
committer | Itamar Haber <itamar@redislabs.com> | 2016-02-18 15:00:39 -0800 |
commit | 4e9c3027b12b543c8b03d9c92ffd9f148a436469 (patch) | |
tree | 0231ca36b7cb2b5a893979c78eddc738cf1e2981 /src/geo.c | |
parent | cf42c48adcea05c1bd4b939fcd36a01f23ec6303 (diff) | |
download | redis-4e9c3027b12b543c8b03d9c92ffd9f148a436469.tar.gz |
Adjusts accuracy for GEODIST
Diffstat (limited to 'src/geo.c')
-rw-r--r-- | src/geo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -767,6 +767,6 @@ void geodistCommand(client *c) { if (!decodeGeohash(score1,xyxy) || !decodeGeohash(score2,xyxy+2)) addReply(c,shared.nullbulk); else - addReplyDouble(c, + addReplyDoubleDistance(c, geohashGetDistance(xyxy[0],xyxy[1],xyxy[2],xyxy[3]) / to_meter); } |