Ticket #12103: trac12103_meataxe_docfix.patch

File trac12103_meataxe_docfix.patch, 858 bytes (added by SimonKing, 8 years ago)

Fix one doctest (coping with a changed class name)

  • sage/matrix/matrix_modpn_dense.pyx

    # HG changeset patch
    # User Simon King <simon.king@uni-jena.de>
    # Date 1330782728 -3600
    # Node ID e32785fc35f30cc8d2e3f73504eade76f85b7414
    # Parent  ddeb59ec47eb9b4aee8b43dd1346a2fc86690493
    #12103: Fix some doctest
    
    diff --git a/sage/matrix/matrix_modpn_dense.pyx b/sage/matrix/matrix_modpn_dense.pyx
    a b  
    13611361
    13621362            sage: MS = MatrixSpace(GF(16,'a'),200,200)
    13631363            sage: from sage.matrix.matrix_modpn_dense import Matrix_modpn_dense
    1364             sage: MS._MatrixSpace_generic__matrix_class = Matrix_modpn_dense
     1364            sage: MS._MatrixSpace__matrix_class = Matrix_modpn_dense
    13651365            sage: A = MS.random_element()
    13661366            sage: B = MS.random_element()
    13671367            sage: C = A*B   # Here, school book multiplication is the default.