Skip to content

Commit

Permalink
gh-37672: src/sage/modular/quasimodform/ring.py: Fix pycodestyle warning
Browse files Browse the repository at this point in the history
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes #12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes #12345". -->



### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [ ] The title is concise and informative.
- [ ] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - #12345: short description why this is a dependency -->
<!-- - #34567: ... -->
    
URL: #37672
Reported by: Matthias Köppe
Reviewer(s): Frédéric Chapoton
  • Loading branch information
Release Manager committed Apr 7, 2024
2 parents cf431c8 + f9ddc32 commit 93cc706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/modular/quasimodform/ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 93cc706

Please sign in to comment.