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

UnitStrippedWarning when calling numpy ufuncs #700

Closed
natezb opened this issue Sep 21, 2018 · 0 comments · Fixed by #905
Closed

UnitStrippedWarning when calling numpy ufuncs #700

natezb opened this issue Sep 21, 2018 · 0 comments · Fixed by #905

Comments

@natezb
Copy link
Contributor

natezb commented Sep 21, 2018

Commit 4be294c introduced UnitStrippedWarning, and it is now extremely common for me to see this warning (I assume every time I use a ufunc).

For example, simply calling np.cos on a quantity will produce the warning. Is there some other way I'm supposed to use numpy ufuncs with quantities, or is this a bug?

If this is a limitation of the current ufunc implementation, is this something that the new __array_ufunc__ api can help with?

@bors bors bot closed this as completed in 43fbae2 Dec 11, 2019
@bors bors bot closed this as completed in #905 Dec 11, 2019
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 a pull request may close this issue.

1 participant