aboutsummaryrefslogtreecommitdiff
path: root/aberth
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2019-04-20 18:47:00 +0200
committertomsmeding <tom.smeding@gmail.com>2019-04-20 18:47:13 +0200
commitdc6f869c48c267e2091d686a66209c4f741d62e4 (patch)
tree7233d03420fb1066dd2827f6c9ed3f24fe444e4d /aberth
parent7d2223afe931ff9fd6206aa8c2d5ffdd85f52a15 (diff)
Remove unused initDerbyshire
Diffstat (limited to 'aberth')
-rw-r--r--aberth/main.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/aberth/main.cpp b/aberth/main.cpp
index 3b3c11e..eb3cef7 100644
--- a/aberth/main.cpp
+++ b/aberth/main.cpp
@@ -194,14 +194,6 @@ static AApprox aberth(const Poly &poly) {
return state.approx;
}
-// Set the constant coefficient to 1; nextDerbyshire will never change it
-static Poly initDerbyshire() {
- Poly poly;
- poly[0] = 1;
- fill(poly.begin() + 1, poly.end(), -1);
- return poly;
-}
-
// Returns whether we just looped around
static bool nextDerbyshire(Poly &poly) {
for (int i = 1; i < (int)poly.size(); i++) {