#4453: elliptic curves -- heegner_index command gives nonsense when rank > 1
-------------------------------+--------------------------------------------
   Reporter:  was              |       Owner:            
       Type:  defect           |      Status:  needs_work
   Priority:  minor            |   Milestone:  sage-4.5.3
  Component:  elliptic curves  |    Keywords:            
     Author:  William Stein    |    Upstream:  N/A       
   Reviewer:  John Cremona     |      Merged:            
Work_issues:                   |  
-------------------------------+--------------------------------------------
Changes (by newvalueoldvalue):

  * status:  positive_review => needs_work
  * reviewer:  cremona => John Cremona
  * milestone:  sage-4.5.2 => sage-4.5.3
  * work_issues:  rebase against Sage 4.3.3.alpha0 =>
  * author:  was => William Stein


Comment:

 With the forthcoming 4.5.2 (4.5.2.rc0 + #9226) and the rebased patch, I
 get a doctest failure:
 {{{
 #!python
 sage -t -long "devel/sage/sage/schemes/elliptic_curves/heegner.py"
 **********************************************************************
 File
 
"/mnt/usb1/scratch/mpatel/apps/sage-4.5.2/devel/sage/sage/schemes/elliptic_curves/heegner.py",
 line 6465:
     sage: E.heegner_index(-8, descent_second_limit=16)
 Exception raised:
     Traceback (most recent call last):
       File
 "/mnt/usb1/scratch/mpatel/apps/sage-4.5.2/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/mnt/usb1/scratch/mpatel/apps/sage-4.5.2/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/mnt/usb1/scratch/mpatel/apps/sage-4.5.2/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_229[14]>", line 1, in <module>
         E.heegner_index(-Integer(8),
 descent_second_limit=Integer(16))###line 6465:
     sage: E.heegner_index(-8, descent_second_limit=16)
       File "/mnt/usb1/scratch/mpatel/apps/sage-4.5.2/local/lib/python
 /site-packages/sage/schemes/elliptic_curves/heegner.py", line 6485, in
 heegner_index
         if check_rank and self.rank() >= 2:
       File "/mnt/usb1/scratch/mpatel/apps/sage-4.5.2/local/lib/python
 /site-packages/sage/schemes/elliptic_curves/ell_rational_field.py", line
 1741, in rank
         raise RuntimeError, 'Rank not provably correct.'
     RuntimeError: Rank not provably correct.
 **********************************************************************
 1 items had failures:
    1 of  21 in __main__.example_229
 ***Test Failed*** 1 failures.
 }}}

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