Ticket #9250 (closed defect: fixed)
Bug in crystal code
| Reported by: | aschilling | Owned by: | sage-combinat |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.5.2 |
| Component: | combinatorics | Keywords: | crystals |
| Cc: | combinat | Work issues: | |
| Report Upstream: | N/A | Reviewers: | Daniel Bump |
| Authors: | Anne Schilling | Merged in: | sage-4.5.2.alpha0 |
| Dependencies: | Stopgaps: |
Description (last modified by bump) (diff)
This currently breaks:
sage: B=KirillovReshetikhinCrystal(['D',5,1], 3,1) sage: B[0].e(0)
This has to do with the method intermediate_shape for plus/minus diagrams.
Attachments
Change History
comment:1 Changed 3 years ago by aschilling
- Keywords crystals added
- Status changed from new to needs_review
- Authors set to Anne Schilling
comment:2 Changed 3 years ago by bump
- Status changed from needs_review to positive_review
- Reviewers set to Daniel Bump
- Description modified (diff)
After the patch, passes sage -testall.
Fixes the crash mentioned in the Description.
Includes doctest.
Apparently the intermediate_shape method of PMDiagram presumed that self.n was 2.
This one-line fix is obviously correct.
Note: See
TracTickets for help on using
tickets.

