From d7bea2d455844b5f1bb380387bdc18dc0d2b483c Mon Sep 17 00:00:00 2001 From: "fuder.eth" <139509124+vtjl10@users.noreply.github.com> Date: Thu, 19 Dec 2024 07:47:08 +0100 Subject: [PATCH] Update poly.py --- poly.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/poly.py b/poly.py index d865067..7306819 100644 --- a/poly.py +++ b/poly.py @@ -236,7 +236,7 @@ def force_add(self, other): return self + other # Given a polynomial expressed as a list of evaluations at roots of unity, - # evaluate it at x directly, without using an FFT to covert to coeffs first + # evaluate it at x directly, without using an FFT to convert to coeffs first # https://hackmd.io/@vbuterin/barycentric_evaluation def barycentric_eval(self, x: Scalar): assert self.basis == Basis.LAGRANGE @@ -345,4 +345,4 @@ def poly(self) -> Polynomial: for i in range(self.n): lagrange_poly = self.lagrange_poly(i) poly += lagrange_poly * self.Y[i] - return poly \ No newline at end of file + return poly