diff options
author | tomsmeding <tom.smeding@gmail.com> | 2019-04-20 18:44:28 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2019-04-20 18:44:28 +0200 |
commit | 120dce80a4e8855b56c49493ec0071da4b5a607e (patch) | |
tree | 7ef738f5b35023eb89af9174e34ae7dbddd83e1d | |
parent | 86f2bdfd5767ddb79d2404b1a13116d01690e1e6 (diff) |
Lower precision frmo 1e-9 to 1e-5 in C++ code
-rw-r--r-- | aberth/aberth.cpp | 2 |
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; |