#15278: Hash and equality for graphs
-------------------------------------+-------------------------------------
       Reporter:  SimonKing          |        Owner:
           Type:  defect             |       Status:  new
       Priority:  major              |    Milestone:  sage-5.13
      Component:  graph theory       |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Simon King         |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/SimonKing/ticket/15278           |  c774057bf07b2da8539f2395555b2062428874f4
   Dependencies:  #12601             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 Is this a bug?
 {{{
 sage: import networkx
 sage: g = networkx.Graph({0:[1,2,3], 2:[4]})
 sage: G = DiGraph(g, data_structure="static_sparse")
 sage: H = DiGraph(g)
 sage: G==H
 False
 sage: G.size()
 16
 sage: H.size()
 8
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/15278#comment:20>
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