Ticket #3674: sage-trac3674new-extra.patch

File sage-trac3674new-extra.patch, 0.8 kB (added by cremona, 4 months ago)
  • a/sage/schemes/elliptic_curves/rational_torsion.py

    old new  
    4848 
    4949    AUTHOR: Nick Alexander 
    5050    """ 
    51     def __init__(self, E, flag=0): 
     51    def __init__(self, E, algorithm="pari"): 
    5252        self.__E = E 
    5353 
     54        flag = 0 
     55        if algorithm=="doud": 
     56            flag = 1 
     57        if algorithm=="lutz_nagell": 
     58            flag = 2 
    5459        G = None 
    5560        loop = 0 
    5661        while G is None and loop < 3: