Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gh-35432: Some fixes for Specht modules and diagrams
<!-- Please provide a concise, informative and self-explanatory title. --> <!-- Don't put issue numbers in the title. Put it in the Description below. --> <!-- For example, instead of "Fixes #12345", use "Add a new method to multiply two integers" --> ### 📚 Description This fixes a bug in the Specht modules when the cells of the diagram are bigger than the number of boxes: ```python sage: SGA = SymmetricGroupAlgebra(QQ, 2) sage: SGA.specht_module([(2,2), (5,5)]) ------------------------------------------------------------------------ --- KeyError Traceback (most recent call last) ... IndexError: list index out of range ``` We also fix a few typos in `combinat/diagram.py`. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x ]`. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #35432 Reported by: Travis Scrimshaw Reviewer(s): Darij Grinberg
- Loading branch information