From 47fb1ee3c11f963271164cf4f23e00e745b45260 Mon Sep 17 00:00:00 2001 From: Justin Traglia Date: Thu, 26 Sep 2024 08:13:47 -0500 Subject: [PATCH] Initialize both on the same line --- specs/_features/eip7594/polynomial-commitments-sampling.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specs/_features/eip7594/polynomial-commitments-sampling.md b/specs/_features/eip7594/polynomial-commitments-sampling.md index c9214bb247..2eb5feacf3 100644 --- a/specs/_features/eip7594/polynomial-commitments-sampling.md +++ b/specs/_features/eip7594/polynomial-commitments-sampling.md @@ -246,8 +246,7 @@ def add_polynomialcoeff(a: PolynomialCoeff, b: PolynomialCoeff) -> PolynomialCoe """ Sum the coefficient form polynomials ``a`` and ``b``. """ - length_a = len(a) - length_b = len(b) + length_a, length_b = len(a), len(b) a, b = (a, b) if length_a >= length_b else (b, a) return PolynomialCoeff([a[i] + (b[i] if i < length_b else BLSFieldElement(0)) for i in range(length_a)]) ```