Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quick fix for case when polynomial is only the leading term
Did not account for the fact that max({})=-infinity, which would occur when f=leadTerm(f), causing the bisection step to fail. When this happens, the root(s) of f would be 0, so M is set to 1.
- Loading branch information