#15739: Make Dynkin diagrams coming from a Cartan type immutable and better 
respect
edge deletion
-----------------------------+-----------------------------------
   Reporter:  tscrim         |            Owner:  sage-combinat
       Type:  defect         |           Status:  new
   Priority:  major          |        Milestone:  sage-6.1
  Component:  combinatorics  |         Keywords:  dynkin diagrams
  Merged in:                 |          Authors:
  Reviewers:                 |  Report Upstream:  N/A
Work issues:                 |           Branch:
     Commit:                 |     Dependencies:
   Stopgaps:                 |
-----------------------------+-----------------------------------
 So we don't get behavior like this:
 {{{
 sage: d = DynkinDiagram(['B',3])
 sage: d.edges()
 [(1, 2, 1), (2, 1, 1), (2, 3, 2), (3, 2, 1)]
 sage: d
 O---O=>=O
 1   2   3
 B3
 sage: d.delete_edge(1,2)
 sage: d.edges()
 [(2, 1, 1), (2, 3, 2), (3, 2, 1)]
 sage: d    # This iswrong
 O---O=>=O
 1   2   3
 B3
 sage: CartanMatrix(d)   # So is this
 [ 2 -1  0]
 [ 0  2 -1]
 [ 0 -2  2]
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/15739>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to