From f9ddc324b8dc9488d85ba7cbd05a671a0272f4b4 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Mon, 25 Mar 2024 21:20:50 -0700 Subject: [PATCH] src/sage/modular/quasimodform/ring.py: Fix pycodestyle warning --- src/sage/modular/quasimodform/ring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sage/modular/quasimodform/ring.py b/src/sage/modular/quasimodform/ring.py index 53fcea616bd..dcdf8e470c2 100644 --- a/src/sage/modular/quasimodform/ring.py +++ b/src/sage/modular/quasimodform/ring.py @@ -822,6 +822,6 @@ def basis_of_weight(self, weight): basis += [f*E2_pow for f in M.modular_forms_of_weight(weight - 2*j).basis()] E2_pow *= E2 - if not weight%2: + if not weight % 2: basis.append(E2_pow) return basis