Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: Warn on Nan in minimum,maximum for scalars #11661

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

Merged
merged 1 commit into from
Aug 1, 2018

Conversation

charris
Copy link
Member

@charris charris commented Aug 1, 2018

Backport of #11595.

Fixes #11589

PR #11043 added a check for Nan in the minimum, maximum loops.

Scalars and float16 take a different code path through maximum, minimum that was not checked. Tests added that failed before and pass after the fix.

@charris charris added this to the 1.15.1 release milestone Aug 1, 2018
@charris charris merged commit 65b9661 into numpy:maintenance/1.15.x Aug 1, 2018
@charris charris deleted the backport-11595 branch August 1, 2018 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants