squareroottab.sage: remove unused instance variables.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2020-11-29 20:45:12 +00:00
parent 223b60825c
commit 25dd9f0ed9
1 changed files with 2 additions and 4 deletions

View File

@ -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