#15669: Errors with graph complement
----------------------------+----------------------------
   Reporter:  tscrim        |            Owner:  tscrim
       Type:  defect        |           Status:  new
   Priority:  major         |        Milestone:  sage-6.1
  Component:  graph theory  |         Keywords:
  Merged in:                |          Authors:
  Reviewers:                |  Report Upstream:  N/A
Work issues:                |           Branch:
     Commit:                |     Dependencies:
   Stopgaps:                |
----------------------------+----------------------------
 We can't take the complement of an immutable graph:
 {{{
 sage: Gamma = graphs.PathGraph(5).copy(immutable=True)
 sage: Gamma.complement()
 NotImplementedError
 }}}
 which is because `copy(Gamma)` doesn't return a mutable copy.

 They are plotting their original graph.
 {{{
 sage: G = graphs.PathGraph(5)
 sage: G.plot()
 sage: GC = G.complement()
 sage: GC.plot() # Same as G.plot()
 }}}

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