Skip to content

Fix nan handling in min/max/minimum/maximum#584

Merged
inducer merged 2 commits into
inducer:mainfrom
majosm:fix-reduction-nan-handling
Jul 25, 2022
Merged

Fix nan handling in min/max/minimum/maximum#584
inducer merged 2 commits into
inducer:mainfrom
majosm:fix-reduction-nan-handling

Conversation

@majosm

@majosm majosm commented Jul 14, 2022

Copy link
Copy Markdown
Contributor

Closes #583.

To-do:

  • Add failing tests
  • Fix the issue

@inducer inducer force-pushed the fix-reduction-nan-handling branch from 7834344 to ada2399 Compare July 25, 2022 14:26
@inducer inducer marked this pull request as ready for review July 25, 2022 14:26
@inducer

inducer commented Jul 25, 2022

Copy link
Copy Markdown
Owner

Thanks for putting this together! This is a bit hokey, but it ought to do the trick. Take a look, and if this looks good to you, then we can go ahead and merge this.

@inducer inducer force-pushed the fix-reduction-nan-handling branch from ada2399 to 5b6e124 Compare July 25, 2022 15:59
@inducer

inducer commented Jul 25, 2022

Copy link
Copy Markdown
Owner

OK, next attempt. :)

@majosm majosm left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. 🙂

@inducer inducer merged commit 23ff0e5 into inducer:main Jul 25, 2022
@inducer

inducer commented Jul 25, 2022

Copy link
Copy Markdown
Owner

Thanks! In it goes.

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.

Reductions on arrays containing nan give unexpected results

2 participants