From 0bfabddf23e63bd1b87cdeb1402b656a39e2ee0e Mon Sep 17 00:00:00 2001 From: Miles <2627273987@qq.com> Date: Sun, 10 Mar 2024 16:38:37 +0800 Subject: [PATCH] fix typo --- test/lib/scripts/poly_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/lib/scripts/poly_utils.py b/test/lib/scripts/poly_utils.py index 0ef4238..b649f44 100644 --- a/test/lib/scripts/poly_utils.py +++ b/test/lib/scripts/poly_utils.py @@ -17,7 +17,7 @@ def mul(self, x, y): def exp(self, x, p): return pow(x, p, self.modulus) - # evaluate the polynomal in the evaluation form in a coset + # evaluate the polynomial in the evaluation form in a coset # xs[0] must the shifting parameter h # formula is (x^m - h^m) / (m h^m) * sum(ys[i] * xs[i] / (x - xs[i])) def eval_barycentric(self, x, xs, ys): @@ -268,7 +268,7 @@ def multi_interp_4(self, xsets, ysets): # assert o == [self.lagrange_interp_4(xs, ys) for xs, ys in zip(xsets, ysets)] return o - # Linear combination of polynomals + # Linear combination of polynomials def linearcomb_polys(self, ps, c): psc = [] for i in range(len(c)):