# HG changeset patch
# User John Cremona <john.cremona@gmail.com>
# Date 1218144015 3600
# Node ID 75e2ab7a31f6e9ba23ba54d3b2e601539203e8ee
# Parent 7bac06affeab640ca8d834c45693ed82fac10a6b
#3674: extra changes
diff r 7bac06affeab r 75e2ab7a31f6 sage/schemes/elliptic_curves/rational_torsion.py
a

b


48  48  
49  49  AUTHOR: Nick Alexander 
50  50  """ 
51   def __init__(self, E, flag=0): 
 51  def __init__(self, E, algorithm="pari"): 
52  52  self.__E = E 
53  53  
 54  flag = 0 
 55  if algorithm=="doud": 
 56  flag = 1 
 57  if algorithm=="lutz_nagell": 
 58  flag = 2 
54  59  G = None 
55  60  loop = 0 
56  61  while G is None and loop < 3: 