You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because sys.maxint no longer exists, the code uses the 32 bit version of the functions. interleaving 0xffff and 0xffff yields the same result as 0xfffff and 0xffff since it's using the 32 bit function and the result should be 33 bits long.
I also have this issue. Just have some very large numbers (64bit) that need to get the morton index for (geospatial mapping stuff), and it fails to function if the numbers are too large.
Because sys.maxint no longer exists, the code uses the 32 bit version of the functions. interleaving 0xffff and 0xffff yields the same result as 0xfffff and 0xffff since it's using the 32 bit function and the result should be 33 bits long.
The issue lies here:
pymorton/pymorton/pymorton.py
Line 92 in f248683
The text was updated successfully, but these errors were encountered: