Skip to content

Commit

Permalink
Merge pull request #82 from miles-six/main
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
qizhou authored Mar 11, 2024
2 parents bb5ed42 + 0bfabdd commit f1c9c17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lib/scripts/poly_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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)):
Expand Down

0 comments on commit f1c9c17

Please sign in to comment.