-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix error in _findpolymin #58
Conversation
Function did not actually minimize the polynomial! Our arguments do not have a 1st coefficient. This is a problem for line 47, as np.polyval assumes your coefficients include a 0th order term. This causes misidentification of tstar. We should make sure this isn't also happening in prior work.
this isn't quite ready. doing more testing. please don't merge! |
this should now be good to go. the documentation has been clarified and the minimize package passes a wide range of tests. |
For review, probably easiest to look at all the changes together up to the HISTORY modification, then to examine commits from then on as diffs, as the flake8 commit made small formatting changes throughout the repo (sorry - should have been a separate PR) |
Also - this is a pretty big deal - we should probably bump patch before merging |
flake8 impax tests docs
Function did not actually minimize the polynomial!
Our arguments do not have a 1st coefficient. This is a problem for line 47, as np.polyval assumes your coefficients include a 0th order term.
This causes misidentification of tstar. We should make sure this isn't also happening in prior work.