Skip to content

Add support for numpy bool types#299

Open
MatthieuDartiailh wants to merge 1 commit intoJij-Inc:mainfrom
MatthieuDartiailh:numpy-bool
Open

Add support for numpy bool types#299
MatthieuDartiailh wants to merge 1 commit intoJij-Inc:mainfrom
MatthieuDartiailh:numpy-bool

Conversation

@MatthieuDartiailh
Copy link
Copy Markdown

Numpy 2 has blessed the type numpy.bool so it can be used in type hints

This addresses part of #97. This issue coudl probably be updated since:

  • int16 and uint16 are already supported
  • bfloat16 is not supported by Numpy
  • f16 is not stable as of Rust 1.89
  • isize and usize could be supported

I did not find any tests related to numpy types, but I can add some if pointed to the right direction.

Numpy 2 has blessed the type numpy.bool so it can be used in type hints
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant