#15491: directed immutable graphs report twice too many edges
----------------------------+---------------------------------
   Reporter:  ncohen        |            Owner:
       Type:  defect        |           Status:  new
   Priority:  major         |        Milestone:  sage-5.13
  Component:  graph theory  |         Keywords:
  Merged in:                |          Authors:  Nathann Cohen
  Reviewers:                |  Report Upstream:  N/A
Work issues:                |           Branch:
     Commit:                |     Dependencies:
   Stopgaps:                |
----------------------------+---------------------------------
 As reported on #15278 :

 {{{
 sage: g=digraphs.RandomDirectedGNP(10,.3)
 sage: gi=DiGraph(g,data_structure="static_sparse")
 sage: print gi.size(), len(gi.edges())
 68 34
 }}}

 Simplest bug eve : Sage was taught to return the wrong thing. The sum of
 all arcs in the digraph, plus the sum of all arcs in the reversed digraph.
 That's clearly more than necessary `:-P`

 Sorryyyyyyyyyyyyyyyyyyyy !!

 Nathann

--
Ticket URL: <http://trac.sagemath.org/ticket/15491>
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