From 25dd9f0ed98e8fb3342d3be1c5ffc14e2b8619cb Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Sun, 29 Nov 2020 20:45:12 +0000 Subject: [PATCH] squareroottab.sage: remove unused instance variables. Signed-off-by: Daira Hopwood --- squareroottab.sage | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/squareroottab.sage b/squareroottab.sage index f3285d9..3b6ac6f 100755 --- a/squareroottab.sage +++ b/squareroottab.sage @@ -54,10 +54,8 @@ class SqrtField: gtab[3] = gtab[3][:128] - minus1 = Mod(-1, p) - - (self.p, self.n, self.m, self.g, self.gtab, self.invtab, self.minus1, self.base_cost) = ( - p, n, m, g, gtab, invtab, minus1, base_cost) + (self.p, self.n, self.m, self.gtab, self.invtab, self.base_cost) = ( + p, n, m, gtab, invtab, base_cost) def hash(self, x): return (int(x) % (1 << self.hash_bits)) % self.hash_mod