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: sparse.linalg/gcrotmk: avoid rounding error in termination check #8636

Merged
merged 1 commit into from Mar 31, 2018

Conversation

pv
Copy link
Member

@pv pv commented Mar 31, 2018

gcrotmk does not recompute the residual vector, so it tends to
accumulate rounding error. Recompute the vector if the termination check
is successful, to avoid exceeding tolerances.

Fixes gh-8629

gcrotmk does not recompute the residual vector, so it tends to
accumulate rounding error. Recompute the vector if the termination check
is successful, to avoid exceeding tolerances.
@pv
Copy link
Member Author

pv commented Mar 31, 2018

Travis test failure seems unrelated (some problem in numpy master?)

@rgommers rgommers added scipy.sparse.linalg maintenance Items related to regular maintenance tasks labels Mar 31, 2018
@rgommers rgommers added this to the 1.1.0 milestone Mar 31, 2018
@rgommers
Copy link
Member

Works for me, thanks!

@rgommers rgommers merged commit 47c0a24 into scipy:master Mar 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks scipy.sparse.linalg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants