Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct integer widths in Rust/Python hand-off #7849

Merged
merged 2 commits into from
Mar 31, 2022

Commits on Mar 31, 2022

  1. Correct integer widths in Rust/Python hand-off

    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.
    jakelishman committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    7404e66 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    655b369 View commit details
    Browse the repository at this point in the history