#9667: Use PARI's hash_GEN() for gen.__hash__
-------------------------------+--------------------------------------------
    Reporter:  jdemeyer        |         Owner:  was                           
        Type:  enhancement     |        Status:  closed                        
    Priority:  minor           |     Milestone:  sage-duplicate/invalid/wontfix
   Component:  interfaces      |    Resolution:  duplicate                     
    Keywords:                  |   Work_issues:                                
    Upstream:  N/A             |      Reviewer:                                
      Author:  Jeroen Demeyer  |        Merged:                                
Dependencies:                  |  
-------------------------------+--------------------------------------------

Comment(by was):

 Hi,

 For the record, this change introduced a major bug into Sage, because
 PARI's hash_GEN is itself buggy.  For example, by playing with ideals in
 Sage (code is complicated though...), I quickly got into this situation:
 {{{
 sage: n0
 [11, 3; 0, 1]
 sage: n1
 [11, 3; 0, 1]
 sage: hash(n0)
 -7493989779944505307
 sage: hash(n1)
 -6341068275337658331
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9667#comment:5>
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.

Reply via email to