Repository navigation
Some fixes for bug in v1.7.0 - #3163
Closed
akesandgren wants to merge 5 commits into
Closed
akesandgren wants to merge 5 commits into
akesandgren wants to merge 5 commits into
Conversation
added 5 commits
March 22, 2013 13:09
- _strided_to_strided_one_to_n_with_finish is missing a d-> when initializing data_finish_src
- The comment in allclose says "If either array contains one or more NaNs, False is returned." but this is not done properly. Some compilers have problem with abs and NaNs.
- core/src/multiarray/dtype_transfer.c _strided_to_strided_string_to_datetime, initialize dt. - core/src/umath/ufunc_object.c PyUFunc_Reduceat, initialize need_outer_iterator.
- The original code tried to do a simple subtraction, the result of which was just discarded. Optimizers throws that away and the raise never happend.
- openblas is usually a lot faster then ATLAS so make sure it can get correctly detected.
Member
There was a problem hiding this comment.
Change seems fine to me, but you need to use spaces instead of a hard tab, and need a test.
Member
There was a problem hiding this comment.
Just wondering myself, what does np.abs(np.nan) give you in the first place?! I am wondering if this isn't fixing a symptom and not the real issue, or is it just the best you can do with the intel compiler?
Member
There was a problem hiding this comment.
I don't immediately see why this change is needed --- the comparison below should give the correct result and also without warnings?
Member
|
Closing as per submitter's comment (which was done as an edit to the main description, in case anyone else is looking for it -- github continues annoying). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes a couple of bugs and adds support for detecting and using openblas instead of Atlas in _dotblas
Lets close this PR and i'll split it into single commit PR's to make it easier to handle.