Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect results for large numbers of points
- replace all 32-bit integers with 64-bit integers - previously the results would silently be incorrect if `num_points * k > 2^32-1` - caused by integer overflow (see storpipfugl#38) - for e.g. k=20 this occurred for ~200 million points (~a few GB of RAM) - now the results are correct for any (practical) number of points - overflow would now only occur for k=20 with ~10^17 points (> trillions of GB of RAM) - resolves storpipfugl#38
- Loading branch information