#17193: Adding a hash function to weak and strong tableaux
-------------------------+-------------------------------------------------
Reporter: | Owner:
aschilling | Status: new
Type: defect | Milestone: sage-6.4
Priority: major | Keywords: weak and strong tableaux,
Component: | hash
combinatorics | Authors: Anne Schilling
Merged in: | Report Upstream: N/A
Reviewers: | Branch:
Work issues: | Dependencies:
Commit: |
Stopgaps: |
-------------------------+-------------------------------------------------
Currently WeakTableaux and StrongTableaux are not hashable:
{{{
sage: T = WeakTableaux(3, [5,2,1], [1,1,1,1,1,1], representation='core')
sage: t = T[0]
sage: hash(t)
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
<ipython-input-3-36822ba665ca> in <module>()
----> 1 hash(t)
/Applications/sage/local/lib/python2.7/site-
packages/sage/structure/list_clone.so in
sage.structure.list_clone.ClonableArray.__hash__
(build/cythonized/sage/structure/list_clone.c:5686)()
/Applications/sage/local/lib/python2.7/site-
packages/sage/structure/list_clone.so in
sage.structure.list_clone.ClonableArray._hash_
(build/cythonized/sage/structure/list_clone.c:6286)()
TypeError: unhashable type: 'list'
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17193>
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/d/optout.