From a5043df6a9adaed91836c1593672cdc63b5ebb0a Mon Sep 17 00:00:00 2001 From: sf Date: Tue, 17 Dec 2024 21:23:32 +0800 Subject: [PATCH] fix(finite-field): typo --- src/finite-field/mersenne31.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/finite-field/mersenne31.py b/src/finite-field/mersenne31.py index d7b1881..ce5d41a 100644 --- a/src/finite-field/mersenne31.py +++ b/src/finite-field/mersenne31.py @@ -62,7 +62,7 @@ def square(self): return self * self class Complex: - """ Irriducible polynomial: i^2 + 1 = 0 """ + """ Irreducible polynomial: i^2 + 1 = 0 """ def __init__(self, real: Mersenne31, imag: Mersenne31): self.real: Mersenne31 = real self.imag: Mersenne31 = imag @@ -120,7 +120,7 @@ def norm(self): return self.real.square() + self.imag.square() class Mersenne31QuadExtension: - """ Irriducible polynomial: w^2 + 1 + 2i = 0""" + """ Irreducible polynomial: w^2 + 1 + 2i = 0""" def __init__(self, c0: Complex, c1: Complex): self.c0: Complex = c0 self.c1: Complex = c1