From dc6f869c48c267e2091d686a66209c4f741d62e4 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sat, 20 Apr 2019 18:47:00 +0200 Subject: Remove unused initDerbyshire --- aberth/main.cpp | 8 -------- 1 file changed, 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++) { -- cgit v1.2.3-54-g00ecf