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

Fixed hypot bug on nan/inf pairings, began deprecation of non-real values #20754

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

Micky774
Copy link
Collaborator

@Micky774 Micky774 commented Apr 15, 2024

Towards #20200

Begins deprecation of complex-valued inputs to jax.numpy.hypot. Fixes bug wherein hypot(np.inf, np.nan)=np.nan instead of the expected np.inf result as produced by numpy.hypot.

@jakevdp jakevdp self-assigned this Apr 15, 2024
@Micky774 Micky774 force-pushed the array-api-hypot branch 2 times, most recently from a9ec3fc to 2abcc4a Compare April 15, 2024 17:35
@google-ml-butler google-ml-butler bot added kokoro:force-run pull ready Ready for copybara import and testing labels Apr 15, 2024
@copybara-service copybara-service bot merged commit 5f22b12 into google:main Apr 15, 2024
10 checks passed
@Micky774 Micky774 deleted the array-api-hypot branch April 15, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants