8000 BUG: mask nan to 1 in ordered compare by juliantaylor · Pull Request #6438 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

BUG: mask nan to 1 in ordered compare #6438

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
Oct 11, 2015

Conversation

juliantaylor
Copy link
Contributor

msvc2008 32 bit seems to miscompile it otherwise.
closes gh-6428

@njsmith
Copy link
Member
njsmith commented Oct 9, 2015
8000

@cgohlke: can you confirm that this works for you too?

msvc2008 32 bit seems to miscompile it otherwise.
closes numpygh-6428
@njsmith
Copy link
Member
njsmith commented Oct 9, 2015

@juliantaylor: well, I don't understand much from the code, so I'm sure it's fine but I guess I'll suggest that adding a comment might be good :-)

@charris charris added this to the 1.10.1 release milestone Oct 10, 2015
@charris
Copy link
Member
charris commented Oct 10, 2015

@juliantaylor I'm going with the SSE2 solution, so going to close this. Thanks for working this problem under time pressure.

@charris charris closed this Oct 10, 2015
@juliantaylor
Copy link
Contributor Author

I still think this is a reasonable change having a comparison including nan might be dodgy concerning floating point signals

@juliantaylor juliantaylor reopened this Oct 10, 2015
charris added a commit that referenced this pull request Oct 11, 2015
BUG: mask nan to 1 in ordered compare
@charris charris merged commit 696ccc4 into numpy:master Oct 11, 2015
@charris
Copy link
Member
charris commented Oct 11, 2015

OK, thanks Julian

charris added a commit that referenced this pull request Oct 11, 2015
Backport gh-6438: BUG: mask nan to 1 in ordered compare
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.

msvc9 32-bit builds are unusable
3 participants
0