• antirez's avatar
    Geo: fix computation of bounding box. · 001138ae
    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.
    001138ae
geo.c 28.8 KB