Ticket #893 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

[with-patch] 2.8.7-alpha0: doctest failure in const.tex

Reported by: cwitty Owned by: tba
Priority: blocker Milestone: sage-2.8.7
Component: documentation Keywords:
Cc: Author(s):
Report Upstream: Reviewer(s):
Merged in: Work issues:

Description

There are three failures, but the last two are direct consequences of the first one:

File "const.py", line 749:
    sage: vals = E.Lseries_values_along_line(1-I, 1+10*I, 100) # critical line
Exception raised:
    Traceback (most recent call last):
      File "/home/cwitty/pre-sage/local/lib/python2.5/doctest.py", line 1212, in
 __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_22[1]>", line 1, in <module>
        vals = E.Lseries_values_along_line(Integer(1)-I, Integer(1)+Integer(10)*
I, Integer(100)) # critical line###line 749:
    sage: vals = E.Lseries_values_along_line(1-I, 1+10*I, 100) # critical line
    AttributeError: 'EllipticCurve_rational_field' object has no attribute 'Lser
ies_values_along_line'

Attachments

trac893.patch Download (0.8 KB) - added by roed 3 years ago.
Text patch fixing the doctest

Change History

Changed 3 years ago by cwitty

This function was in 2.8.6 but is no longer in 2.8.7. Was it deliberately removed?

Changed 3 years ago by was

This was caused by David Roe's refactoring of the ell_rational_field command. Now one does L = E.Lseries(), and there is a method

L.values_along_line(...)

Changed 3 years ago by roed

Text patch fixing the doctest

Changed 3 years ago by roed

  • summary changed from 2.8.7-alpha0: doctest failure in const.tex to [with-patch] 2.8.7-alpha0: doctest failure in const.tex

Changed 3 years ago by was

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.