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

Normalize NumPy scalar return types #384

Closed
mhostetter opened this issue Jul 25, 2022 · 0 comments
Closed

Normalize NumPy scalar return types #384

mhostetter opened this issue Jul 25, 2022 · 0 comments
Milestone

Comments

@mhostetter
Copy link
Owner

When NumPy returns a scalar bool or integer, it's np.bool_ or np.int64. This may cause issues if someone is expecting an int. Perhaps I should normalize these and convert them to the Python type. Also need to double check the type hints.

@mhostetter mhostetter added this to the v0.2.0 milestone Nov 11, 2022
mhostetter added a commit that referenced this issue Nov 16, 2022
mhostetter added a commit that referenced this issue Nov 17, 2022
mhostetter added a commit that referenced this issue Nov 17, 2022
mhostetter added a commit that referenced this issue Nov 17, 2022
mhostetter added a commit that referenced this issue Nov 17, 2022
mhostetter added a commit that referenced this issue Nov 17, 2022
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

No branches or pull requests

1 participant