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: Fix division by zero in trust-region optimization methods #8742

Merged
merged 1 commit into from
Apr 21, 2018

Conversation

bagibence
Copy link
Contributor

Check convergence condition before starting iteration. Solves problem
with division by zero if we have a Jacobian with zero magnitude.
Add corresponding tests.
Fixes #8686.

Work done together @panvaf @lizweer @mezdahun

Check convergence condition before starting iteration. Solves problem
with division by zero if we have a Jacobian with zero magnitude.
Add corresponding tests.
Fixes scipy#8686.
@ilayn ilayn added defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.optimize labels Apr 20, 2018
@pv pv merged commit fc09f2f into scipy:master Apr 21, 2018
@pv pv added this to the 1.2.0 milestone Apr 21, 2018
@pv
Copy link
Member

pv commented Apr 21, 2018

thanks, lgtm

@pv pv added the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label Apr 21, 2018
pv added a commit that referenced this pull request May 4, 2018
BUG: optimize: fix division by zero in trust-region optimization methods

Check convergence condition before starting iteration. Solves problem
with division by zero if we have a Jacobian with zero magnitude.
Add corresponding tests.

(cherry picked from commit fc09f2f)
@tylerjereddy tylerjereddy removed the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label Feb 1, 2019
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.optimize
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants