SpatioTemporal / STARE

SpatioTemporal Adaptive Resolution Encoding, a unifying index for geo-located data.
Other
10 stars 7 forks source link

Mask calculation in BitField.h fails for large field widths. #115

Open michaelleerilee opened 1 year ago

michaelleerilee commented 1 year ago

Need to change mask to uint64_t and replace

          mask = pow(2ll,width) -1;

with

          mask = (2ull << (width-1)) -1;