Ticket #3651: sage-trac3651.patch

File sage-trac3651.patch, 1.1 kB (added by cremona, 5 months ago)
  • a/sage/schemes/elliptic_curves/lseries_ell.py

    old new  
    1414Q = RationalField() 
    1515C = ComplexField() 
    1616import sage.functions.constants as constants 
     17import sage.misc.all as misc 
    1718 
    1819class Lseries_ell(SageObject): 
    1920    """ 
     
    619620            sage: E.lseries().L_ratio() 
    620621            2 
    621622 
     623            # See trac #3651: 
     624            sage: EllipticCurve([0,0,0,-193^2,0]).sha().an() 
     625            4 
     626 
    622627        WARNING: It's conceivable that machine floats are not large 
    623628        enough precision for the computation; if this could be the 
    624629        case a RuntimeError is raised.  The curve's real period would