#8506: Inefficient hash for homsets
-------------------------------+--------------------------------------------
   Reporter:  robertwb         |       Owner:  cremona   
       Type:  defect           |      Status:  needs_work
   Priority:  major            |   Milestone:  sage-4.3.4
  Component:  elliptic curves  |    Keywords:            
     Author:                   |    Upstream:  N/A       
   Reviewer:                   |      Merged:            
Work_issues:                   |  
-------------------------------+--------------------------------------------
Changes (by cremona):

  * status:  needs_review => needs_work


Comment:

 I am not competent to comment on the hashing issues.  But I applied the
 patch to 4.3.4.alpha1 and had the following test failures (I only tested
 sage/schemes/elliptic_curves, and without -long):
 {{{
 sage -t  sage/schemes/elliptic_curves/heegner.py
 **********************************************************************
 File
 
"/storage/jec/sage-4.3.4.alpha1/devel/sage-8505/sage/schemes/elliptic_curves/heegner.py",
 line 2588:
     sage: hash(y)
 Expected:
     -5236815264926108755
 Got:
     -756867903203770682
 **********************************************************************
 File
 
"/storage/jec/sage-4.3.4.alpha1/devel/sage-8505/sage/schemes/elliptic_curves/heegner.py",
 line 2893:
     sage: hash(EllipticCurve('389a').heegner_point(-7,5))
 Expected:
     -5236815264926108755
 Got:
     -756867903203770682
 **********************************************************************
 2 items had failures:
    1 of   4 in __main__.example_107
    1 of   3 in __main__.example_121
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file
 /home/jec/.sage//tmp/.doctest_heegner.py
          [83.6 s]
 }}}

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