Ticket #3674: sage-trac3674new-extra6.patch

File sage-trac3674new-extra6.patch, 1.7 KB (added by cremona, 9 years ago)
  • sage/schemes/elliptic_curves/ell_point.py

    # HG changeset patch
    # User John Cremona <john.cremona@gmail.com>
    # Date 1218617680 -3600
    # Node ID d881337c22b8b2068773036f488b174baafa63c4
    # Parent  d1f50c27f88c02b8f539addffe8c43bf0e207424
    #3674, tidying up.
    
    diff -r d1f50c27f88c -r d881337c22b8 sage/schemes/elliptic_curves/ell_point.py
    a b  
    476476
    477477        EXAMPLES:
    478478            sage: E = EllipticCurve('389a')
    479             sage: Q = 5*E.1; Q
    480             (-2739/1444 : 22161/54872 : 1)
     479            sage: Q = 5*E(0,0); Q
     480            (-2739/1444 : -77033/54872 : 1)
    481481            sage: Q.is_divisible_by(4)
    482482            False
    483483            sage: Q.is_divisible_by(5)
  • sage/schemes/elliptic_curves/ell_rational_field.py

    diff -r d1f50c27f88c -r d881337c22b8 sage/schemes/elliptic_curves/ell_rational_field.py
    a b  
    37953795           
    37963796            sage: a = E.integral_points([P1,P2,P3], verbose=True)
    37973797            Using mw_basis  [(2 : 0 : 1), (4 : 6 : 1), (114/49 : -720/343 : 1)]
    3798             e1,e2,e3:  -3.01243037259331 1.06582054769620 1.94660982489710
    3799             Minimal eigenvalue of height pairing matrix:  0.472730555831538
     3798            e1,e2,e3:  -3.0124303725... 1.0658205476... 1.9466098248...
     3799            Minimal eigenvalue of height pairing matrix:  0.4727305558...
    38003800            x-coords of points on compact component with  -3 <=x<= 1
    38013801            [-3, -2, -1, 0, 1]
    38023802            x-coords of points on non-compact component with  2 <=x<= 6