aboutsummaryrefslogtreecommitdiff
path: root/aberth
diff options
context:
space:
mode:
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++) {