#9250: Bug in crystal code
------------------------------+---------------------------------------------
   Reporter:  aschilling      |       Owner:  sage-combinat  
       Type:  defect          |      Status:  positive_review
   Priority:  major           |   Milestone:                 
  Component:  combinatorics   |    Keywords:  crystals       
     Author:  Anne Schilling  |    Upstream:  N/A            
   Reviewer:  Daniel Bump     |      Merged:                 
Work_issues:                  |  
------------------------------+---------------------------------------------
Changes (by bump):

  * status:  needs_review => positive_review
  * reviewer:  => Daniel Bump


Old description:

> 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.

New description:

 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.

--

Comment:

 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.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9250#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to