#15623: Immutable graph backend for Posets
-------------------------+-------------------------------------------------
Reporter: | Owner:
ncohen | Status: needs_work
Type: | Milestone: sage-6.1
enhancement | Resolution:
Priority: major | Merged in:
Component: | Reviewers:
combinatorics | Work issues: doctest error related with hash
Keywords: | of mutable graphs
Authors: | Commit:
Nathann Cohen | b6ed0387bb16a0102cc2792494d120df7b0fe292
Report Upstream: N/A | Stopgaps:
Branch: |
u/ncohen/15623 |
Dependencies: |
#15622 |
-------------------------+-------------------------------------------------
Comment (by SimonKing):
Aha. This is about a function that returns
{{{
from sage.graphs.graph import Graph
G = Graph(self.hasse_diagram())
return G
}}}
I suppose this should be
{{{
from sage.graphs.graph import Graph
return Graph(self.hasse_diagram(), immutable=True)
}}}
instead. The fact that the doctest is about hash shows that we want an
immutable graph.
--
Ticket URL: <http://trac.sagemath.org/ticket/15623#comment:4>
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.