Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo #82

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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