Ticket #8720: trac_8720-doctests-3.patch

File trac_8720-doctests-3.patch, 2.8 KB (added by Paul Zimmermann, 10 years ago)

apply this patch on top of the other three

  • sage/matrix/constructor.py

    # HG changeset patch
    # User Paul Zimmermann <zimmerma@loria.fr>
    # Date 1333436149 -7200
    # Node ID 85ab72f8d735dea7f548f595254fd24bdeddf094
    # Parent  9835f611f28d5e0528e4f34fbdf7d7f805f76823
    #8720: new patch for sage-5.0.beta11
    
    diff --git a/sage/matrix/constructor.py b/sage/matrix/constructor.py
    a b  
    10731073        sage: A = random_matrix(ComplexField(32), 3, density=0.8, sparse=True); A
    10741074        [                 0.000000000  0.399739209 + 0.909948633*I                  0.000000000]
    10751075        [-0.361911424 - 0.455087671*I -0.687810605 + 0.460619713*I  0.625520058 - 0.360952012*I]
    1076         [                 0.000000000                  0.000000000     62196416 - 0.193242896*I]
     1076        [                 0.000000000                  0.000000000 -0.162196416 - 0.193242896*I]
    10771077        sage: A.is_sparse()
    10781078        True
    10791079
  • sage/matrix/matrix_space.py

    diff --git a/sage/matrix/matrix_space.py b/sage/matrix/matrix_space.py
    a b  
    13151315            sage: MS = MatrixSpace(CC,2,1)
    13161316            sage: F = NumberField(x^2+1, name='x')
    13171317            sage: MS([F(1),F(0)])
    1318             [1.00000000000000]
    1319             [               0]
     1318            [ 1.00000000000000]
     1319            [0.000000000000000]
    13201320
    13211321        """
    13221322        if x is None or x==0:
  • sage/plot/hyperbolic_arc.py

    diff --git a/sage/plot/hyperbolic_arc.py b/sage/plot/hyperbolic_arc.py
    a b  
    4141         sage: from sage.plot.hyperbolic_arc import HyperbolicArc
    4242       
    4343         sage: print HyperbolicArc(0, 1/2+I*sqrt(3)/2, {})
    44          Hyperbolic arc (0, 0.500000000000000 + 0.866025403784439*I)
     44         Hyperbolic arc (0.000000000000000, 0.500000000000000 + 0.866025403784439*I)
    4545    """
    4646   
    4747    def __init__(self, A, B, options):
  • sage/plot/hyperbolic_triangle.py

    diff --git a/sage/plot/hyperbolic_triangle.py b/sage/plot/hyperbolic_triangle.py
    a b  
    4242
    4343         sage: from sage.plot.hyperbolic_triangle import HyperbolicTriangle
    4444         sage: print HyperbolicTriangle(0, 1/2, I, {})
    45          Hyperbolic triangle (0, 0.500000000000000, 1.00000000000000*I)
     45         Hyperbolic triangle (0.000000000000000, 0.500000000000000, 1.00000000000000*I)
    4646    """
    4747    def __init__(self, A, B, C, options):
    4848        """
     
    5252       
    5353            sage: from sage.plot.hyperbolic_triangle import HyperbolicTriangle
    5454            sage: print HyperbolicTriangle(0, 1/2, I, {})
    55             Hyperbolic triangle (0, 0.500000000000000, 1.00000000000000*I)
     55            Hyperbolic triangle (0.000000000000000, 0.500000000000000, 1.00000000000000*I)
    5656        """
    5757        A, B, C = (CC(A), CC(B), CC(C))
    5858        self.path = []