diff --git a/src/sage/matrix/matrix_numpy_integer_dense.pyx b/src/sage/matrix/matrix_numpy_integer_dense.pyx index e832386f618..bc605df9b92 100644 --- a/src/sage/matrix/matrix_numpy_integer_dense.pyx +++ b/src/sage/matrix/matrix_numpy_integer_dense.pyx @@ -13,8 +13,8 @@ EXAMPLES:: [ 0 0 0] [ 0 0 47] sage: M.numpy() - array([[ 0, 0, 0], - [ 0, 0, 47]]) + array([[ 0, 0, 0], [ 0, 0, 47]]) # 64-bit + array([[ 0, 0, 0], [ 0, 0, 47]], dtype=int64) # 32-bit """ # **************************************************************************** diff --git a/src/sage/modules/vector_numpy_integer_dense.pyx b/src/sage/modules/vector_numpy_integer_dense.pyx index b73a21eb849..faeb8531771 100644 --- a/src/sage/modules/vector_numpy_integer_dense.pyx +++ b/src/sage/modules/vector_numpy_integer_dense.pyx @@ -10,7 +10,8 @@ EXAMPLES:: sage: v (0, 42, 0) sage: v.numpy() - array([ 0, 42, 0]) + array([ 0, 42, 0]) # 64-bit + array([ 0, 42, 0], dtype=int64) # 32-bit """ # ****************************************************************************