From 092215b4f35b74223536b77483e079c430511aa8 Mon Sep 17 00:00:00 2001 From: Yu Guo Date: Fri, 13 Dec 2024 17:56:16 +0800 Subject: [PATCH] fix(unipoly): add type notations --- src/unipoly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unipoly.py b/src/unipoly.py index e863176..ffebfdb 100644 --- a/src/unipoly.py +++ b/src/unipoly.py @@ -582,7 +582,7 @@ def compute_linear_combination_linear_moduli_fix(tree, ws, domain): return result @staticmethod - def evaluate_at_point(poly, point): + def evaluate_at_point(poly: list[F], point: F) -> F: """Evaluate a polynomial at a single point using Horner's method.""" result = 0 for coeff in reversed(poly):