Ticket #9958: trac_9958_junk_valueerror.patch

File trac_9958_junk_valueerror.patch, 695 bytes (added by fbissey, 10 years ago)

Fix doctest in matrix_double_dense.pyx about junk

  • sage/matrix/matrix_double_dense.pyx

    # HG changeset patch
    # User Francois Bissey <francois.bissey@canterbury.ac.nz>
    # Date 1320273176 -46800
    # Node ID 2e2e57633995f1f349c70ab39278f4fb6275dac2
    # Parent  b849119db7c277303f820cf80b25959b923fae89
    fix message for junk ValueError
    
    diff --git a/sage/matrix/matrix_double_dense.pyx b/sage/matrix/matrix_double_dense.pyx
    a b  
    10461046            sage: A.singular_values(eps='junk')
    10471047            Traceback (most recent call last):
    10481048            ...
    1049             ValueError: invalid literal for float(): junk
     1049            ValueError: could not convert string to float: junk
    10501050
    10511051        REFERENCES:
    10521052