Ticket #3704: trac-3704-diagonal_matrix-3.patch

File trac-3704-diagonal_matrix-3.patch, 691 bytes (added by cremona, 13 years ago)
  • sage/matrix/matrix_integer_dense_hnf.py

    # HG changeset patch
    # User John Cremona <john.cremona@gmail.com>
    # Date 1220356544 -3600
    # Node ID f74143720ebefa494bdba51a3dcf40db06a6ac6c
    # Parent  5388e1f6b851b2b4905b9c462093efd6535bb44b
    #3704: fix minor doctest issue
    
    diff -r 5388e1f6b851 -r f74143720ebe sage/matrix/matrix_integer_dense_hnf.py
    a b  
    129129        1125899772623531
    130130
    131131    TESTS:
    132         sage: m = diagonal_matrix(ZZ, 68, [2]*66 + [1,1])
     132        sage: m = diagonal_matrix(ZZ, [2]*66 + [1,1])
    133133        sage: m.det()
    134134        73786976294838206464
    135135    """