Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct integer widths in Rust/Python hand-off (#7849)
Various locations in the Rust API take a `usize` as input. For the most part, Python integers will successfully be passed in at the correct size if they fit. Numpy `np.uint64` types, however, will fail conversion if running on a 32-bit machine. This is particularly relevant when the values are being passed as an array. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information