• antirez's avatar
    Geo: fix computation of bounding box. · 8c22086c
    antirez authored
    A bug was reported in the context in issue #3631. The root cause of the
    bug was that certain neighbor boxes were zeroed after the "inside the
    bounding box or not" check, simply because the bounding box computation
    function was wrong.
    
    A few debugging infos where enhanced and moved in other parts of the
    code. A check to avoid steps=0 was added, but is unrelated to this
    issue and I did not verified it was an actual bug in practice.
    8c22086c
geohash_helper.c 8.42 KB