Skip to content

Commit

Permalink
reviewer suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Giacomo Pope <44242839+GiacomoPope@users.noreply.github.com>
  • Loading branch information
yyyyx4 and GiacomoPope committed Mar 22, 2024
1 parent 4935e12 commit d952887
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/sage/combinat/q_analogues.py
Original file line number Diff line number Diff line change
Expand Up @@ -1053,10 +1053,7 @@ def monic_reducible(irreducible, d):
"""
res = 0
for p in Partitions(d+1, max_part=d):
tmp = 1
for r, t in zip(irreducible, p.to_exp(d)):
tmp *= binomial(r+t-1, t)
res += tmp
res += prod(binomial(r+t-1, t) for r, t in zip(irreducible, p.to_exp(d)))
return res

r = []
Expand Down

0 comments on commit d952887

Please sign in to comment.