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

Update 7672, BUG: Make sure we don't divide by zero #7747

Merged
merged 2 commits into from
Jun 15, 2016

Conversation

charris
Copy link
Member

@charris charris commented Jun 15, 2016

Update #7672. Add test and simplify the check in polyfit.

This should fix the issue discussed at
https://mail.scipy.org/pipermail/numpy-discussion/2013-July/067076.html

Without the ValueError added here, polyfit can (and does) return
negative or nan variances with no warning.

daschaich and others added 2 commits June 15, 2016 11:23
This should fix the issue discussed at
https://mail.scipy.org/pipermail/numpy-discussion/2013-July/067076.html

Without the ValueError added here, polyfit can (and does) return
negative or nan variances with no warning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants