#15931: Implement a proper hash function for (combinatorial) free module
elements
-------------------------------------+-------------------------------------
Reporter: nthiery | Owner:
Type: defect | Status: closed
Priority: major | Milestone: sage-6.2
Component: linear algebra | Resolution: fixed
Keywords: | Merged in:
Authors: Nicolas M. ThiƩry | Reviewers: Florent Hivert,
Report Upstream: N/A | Travis Scrimshaw, Anne Schilling
Branch: | Work issues:
f9fdb4347e72af3ba349c6029cf54883fb4df339| Commit:
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):
* commit: f9fdb4347e72af3ba349c6029cf54883fb4df339 =>
Comment:
Still fails
{{{
sage -t --long src/sage/combinat/free_module.py
**********************************************************************
File "src/sage/combinat/free_module.py", line 116, in
sage.combinat.free_module.CombinatorialFreeModuleElement.__hash__
Failed example:
hash(f)
Expected:
3765996081
Got:
-528971215
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/15931#comment:23>
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.