Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #15491: directed immutable graphs report twice too many edges
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 URL: http://trac.sagemath.org/15491 Reported by: ncohen Ticket author(s): Nathann Cohen Reviewer(s): Simon King
- Loading branch information