Skip to content

Commit

Permalink
Edited top_degree() methd
Browse files Browse the repository at this point in the history
  • Loading branch information
25shriya committed Jan 9, 2025
1 parent cccf433 commit 6937925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/categories/graded_algebras_with_basis.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def top_degree(self):
sage: ch.top_degree()
3
"""
return max([b.degree() for b in self.basis()])
return max(b.degree() for b in self.basis())

class SignedTensorProducts(SignedTensorProductsCategory):
"""
Expand Down

0 comments on commit 6937925

Please sign in to comment.