#4109: The complement of a graph shows as the original graph
--------------------------+-------------------------------------------------
Reporter: jason | Owner: rlm
Type: defect | Status: new
Priority: major | Milestone: sage-3.1.2
Component: graph theory | Keywords:
--------------------------+-------------------------------------------------
{{{
g=graphs.PathGraph(6)
g.show()
h = g.complement()
h.show()
}}}
The last command shows the original P_6, not the complement. However,
calling {{{h.edges()}}} seems to return the right results. Also,
{{{Graph(h).show()}}} shows the correct thing, I think.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4109>
SAGE <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---