-
-
Notifications
You must be signed in to change notification settings - Fork 11k
TST: Add test case for gh-6896 #6897
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
Conversation
yes:
src:
|
@@ -90,6 +90,20 @@ def test_svd_no_uv(self): | |||
assert_equal(np.linalg.matrix_rank(a), 1) | |||
assert_array_less(1, np.linalg.norm(a, ord=2)) | |||
|
|||
def test_eig_vs_eigh_above_560(self): | |||
# gh-6896 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a bit more documentation about what is being tested and where it currently fails?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay done. It's still somewhat of a mystery to me.
OK, now I'm thinking how to make the known failure on OS X useful. IIRC, |
Scratch changing the default, that is bound to break someone's code. |
My thought in adding the test was that, in part, it would help gather information about the conditions under which the error occurs. If I recall correctly, the error triggered on @ihaque's Mac, but not on mine, and we really weren't sure what the relevant difference was. (I think they were a different point release of 10.10, but does Apple really change Accelerate between 10.10 point releases?) |
@rmcgibbo what's your mac's hardware? wonder if there's a different dispatch path for AVX or something like that. |
@ihaque I tried two machines, neither gives the bug.
|
Hmm. My hardware is MacBookPro12,1, (Retina 13-inch early 2015, 3.1GHz i7 dual), and I've seen the problem on both 10.10.4 and 10.10.5. |
@ihaque another platform I thought of trying is travis-ci's mac infrastructure, which is a different CPU class and such, but no dice: https://travis-ci.org/rmcgibbo/numpy-test/builds/100201350 |
☔ The latest upstream changes (presumably #7587) made this pull request unmergeable. Please resolve the merge conflicts. |
@charris: Other than the merge conflict, is there any reason not to put this in? |
@eric-wieser Look OK to me. We should probably stick a |
We deprecated Accelerate, so I am going to close this. Please reopen and rebase off master if there is value in adding this test |
@ihaque does this trigger the same error on your hardware?
(#6896)