From ce219c2a7875bd2a4ca55e963c42d5cdd673ba6f Mon Sep 17 00:00:00 2001 From: owlcdr Date: Mon, 17 Feb 2025 21:28:28 +0200 Subject: [PATCH] Fixed potential confusion by making the code more explicit --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 425456c..047cc91 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ def generate_srs(cls, powers: int, tau: int): # powers_of_x[2] = b.G1 * tau**2 = powers_of_x[1] * tau # ... # powers_of_x[i] = b.G1 * tau**i = powers_of_x[i - 1] * tau - powers_of_x[0] = b.G1 + powers_of_x = [None] * powers for i in range(1, powers): powers_of_x[i] = b.multiply(powers_of_x[i - 1], tau)