Closed aborochoff closed 9 years ago
Change the right shift to unsigned. Binary geohash should never be negative / two's compliment breaks it.
Repro -> geo = GeoHash(-36.919550434870125,174.71024582237604,7)
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/op3.html
I merged this.
thanks!
I did a release including this fix of 1.1.0 to OSSRH, it might take a few minutes for it to show up in maven central. Thanks for pointing it out! (y)
Change the right shift to unsigned. Binary geohash should never be negative / two's compliment breaks it.
Repro -> geo = GeoHash(-36.919550434870125,174.71024582237604,7)