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):