Ticket #4390: sage-4390.patch

File sage-4390.patch, 1.3 KB (added by was, 17 months ago)
  • sage/schemes/elliptic_curves/ell_rational_field.py

    # HG changeset patch
    # User William Stein <wstein@gmail.com>
    # Date 1225344955 25200
    # Node ID 75798fe1d9e23b3c4f5c747c8aa930249d8f4417
    # Parent  3859ace869681b4efc4ded59cf84a24e26383e9f
    trac #4390 -- elliptic curves: heegner_index command broken
    
    diff -r 3859ace86968 -r 75798fe1d9e2 sage/schemes/elliptic_curves/ell_rational_field.py
    a b  
    35913591            sage: E.heegner_index(-95)          # long time (1 second) 
    35923592            2.00000? 
    35933593 
     3594        This tests doing direct computation of the Mordell-Weil group. 
     3595            sage: EllipticCurve('675b').heegner_index(-11) 
     3596            3.0000? 
     3597 
    35943598        Current discriminants -3 and -4 are not supported: 
    35953599            sage: E.heegner_index(-3) 
    35963600            Traceback (most recent call last): 
     
    36353639         
    36363640        if c > _MAX_HEIGHT or F is self: 
    36373641            misc.verbose("Doing direct computation of MW group.") 
    3638             reg = F.regulator(verbose=verbose) 
     3642            reg = F.regulator() 
    36393643            return self.__adjust_heegner_index(ht/IR(reg)) 
    36403644         
    36413645        # Do naive search to eliminate possibility that Heegner point