#12587: simplicial complexes lack hash function
------------------------------------+---------------------------------------
Reporter: vpilaud | Owner: sage-combinat
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.4
Component: combinatorics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Travis Scrimshaw | Merged in:
Dependencies: | Stopgaps:
------------------------------------+---------------------------------------
Comment (by jhpalmieri):
> Is this the desired behaviour?
Well, it's certainly the documented behavior. Note that you can also do
{{{
S = SimplicialComplex([[1,2]])
}}}
to get a complex with a single facet. So the vertex list is already an
optional argument, in some sense.
I think that the hash should only depend on the facets; the unused
vertices shouldn't have any effect. That makes the most mathematical sense
to me.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12587#comment:22>
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 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.