aboutsummaryrefslogtreecommitdiff
path: root/aberth
diff options
context:
space:
mode:
Diffstat (limited to 'aberth')
-rw-r--r--aberth/aberth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/aberth/aberth.cpp b/aberth/aberth.cpp
index 42e3106..13883f7 100644
--- a/aberth/aberth.cpp
+++ b/aberth/aberth.cpp
@@ -166,7 +166,7 @@ struct AberthState {
newapprox[i] = approx[i] - offsets[i];
double sval = eval(boundPoly, abs(newapprox[i]));
- if (abs(pval) > 1e-9 * sval) allConverged = false;
+ if (abs(pval) > 1e-5 * sval) allConverged = false;
}
approx = newapprox;