Skip to content
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

BUG:linalg: Fix heevx wrappers and add new tests #13255

Merged
merged 1 commit into from Dec 23, 2020
Merged

Conversation

ilayn
Copy link
Member

@ilayn ilayn commented Dec 16, 2020

Reference issue

Closes #13239

What does this implement/fix?

The heevx LAPACK wrappers were practically untested due to having tests constrained to real data and hence no he driver is being triggered. Even their signature was incorrect however we heard nothing about this so far which is good for breaking compatibility concerns.

This PR fixes the wrappers and adds the complex data to the tests.

@ilayn ilayn added defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.linalg labels Dec 16, 2020
@tylerjereddy tylerjereddy added the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label Dec 17, 2020
@ilayn
Copy link
Member Author

ilayn commented Dec 17, 2020

Apart from the under-the-weather GH Actions for MacOS, this is ready for review.

Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @ilayn!

@rgommers rgommers merged commit c7d1eca into scipy:master Dec 23, 2020
@rgommers rgommers added this to the 1.7.0 milestone Dec 23, 2020
@rgommers
Copy link
Member

@tylerjereddy unless there will be a 1.6.0rc3, I recommend backporting the fix in this PR but not the test. The original wrapper is badly broken so the fix here is needed, but not backporting the test will be fine and avoids a possible minor left-over issue slipping through due to lack of testing on exotic platforms for example.

@ilayn ilayn deleted the evx-fix branch December 23, 2020 12:18
@tylerjereddy
Copy link
Contributor

ok, noted, thanks

@tylerjereddy tylerjereddy modified the milestones: 1.7.0, 1.6.0 Dec 30, 2020
tylerjereddy added a commit to tylerjereddy/scipy that referenced this pull request Dec 30, 2020
* backport the patch itself but not the testing changes;
see: scipy#13255 (comment)
tylerjereddy added a commit to tylerjereddy/scipy that referenced this pull request Dec 30, 2020
* update the `1.6.0` release notes after the backporting of scipygh-13255
(the patch proper, but not the testing changes--see comments there)
and to remove the "Note" about `1.6.0` not being released yet

* bump the version to `1.6.0` "final" (removing the rc2)
unreleased
@tylerjereddy tylerjereddy removed the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.linalg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segmentation fault with eigh(..., driver="evx") for 10x10 matrices and above
3 participants