Ticket #13593: trac13593.patch

File trac13593.patch, 833 bytes (added by ohanar, 7 years ago)
  • sage/schemes/elliptic_curves/ell_number_field.py

    # HG changeset patch
    # User R. Andrew Ohana <andrew.ohana@gmail.com>
    # Date 1349997734 25200
    # Node ID 07d91c865813a017aceff3c8f2229e4607e4a5ec
    # Parent  218c793d479a3f1a3728033c4d628a32c273ae09
    tighter upper bound for rank of elliptic curve
    
    diff --git a/sage/schemes/elliptic_curves/ell_number_field.py b/sage/schemes/elliptic_curves/ell_number_field.py
    a b  
    16971697        """
    16981698
    16991699        lower, upper, gens = self.simon_two_descent(verbose=verbose,lim1=lim1,lim3=lim3,limtriv=limtriv,maxprob=maxprob,limbigprime=limbigprime)
    1700         return lower,upper
     1700        return lower,upper-self.two_torsion_rank()
    17011701
    17021702    def rank(self,verbose=0, lim1=5, lim3=50, limtriv=10, maxprob=20, limbigprime=30):
    17031703        r"""