Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#9250 closed defect (fixed)

Bug in crystal code

Reported by: Anne Schilling Owned by: Sage Combinat CC user
Priority: major Milestone: sage-4.5.2
Component: combinatorics Keywords: crystals
Cc: combinat Merged in: sage-4.5.2.alpha0
Authors: Anne Schilling Reviewers: Daniel Bump
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by Daniel Bump)

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 (1)

trac_9250-crystalbug-as.patch (1.9 KB) - added by Anne Schilling 12 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by Anne Schilling

Authors: Anne Schilling
Keywords: crystals added
Status: newneeds_review

Changed 12 years ago by Anne Schilling

comment:2 Changed 12 years ago by Daniel Bump

Description: modified (diff)
Reviewers: Daniel Bump
Status: needs_reviewpositive_review

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.

comment:3 Changed 12 years ago by Mitesh Patel

Merged in: sage-4.5.2.alpha0
Resolution: fixed
Status: positive_reviewclosed

comment:4 Changed 12 years ago by Minh Van Nguyen

Milestone: sage-4.5.2
Note: See TracTickets for help on using tickets.