# HG changeset patch
# User Rob Beezer <beezer@ups.edu>
# Date 1314070026 25200
# Node ID 2c6618d5c265f4d79a0a5456a188b5ec9e846868
# Parent 7cd3cc885d7722eeb609c6e61dbca45308967dcc
11553: doctest matrices transposed
diff git a/sage/modules/matrix_morphism.py b/sage/modules/matrix_morphism.py
a

b


749  749  
750  750  sage: V1 = QQ^2 
751  751  sage: V2 = QQ^3 
752   sage: m = matrix(QQ, [[1,2],[3,4],[5,6]]) 
 752  sage: m = matrix(QQ, [[1, 2, 3], [4, 5, 6]]) 
753  753  sage: phi = V1.hom(m, V2) 
754  754  sage: phi.is_injective() 
755  755  True 
… 
… 

766  766  
767  767  sage: V1 = QQ^3 
768  768  sage: V2 = QQ^2 
769   sage: phi = V1.hom(matrix(QQ, [[1, 2, 3], [4, 5, 6]]), V2) 
 769  sage: phi = V1.hom(matrix(QQ, [[1, 2], [3, 4], [5, 6]]), V2) 
770  770  sage: x = vector(QQ, [1, 1, 4]) 
771  771  sage: y = phi(x); y 
772  772  (18, 22) 