Skip to content

Commit

Permalink
src/sage/{matrix/matrix,modules/vector}_numpy_integer_dense.pyx: Fix …
Browse files Browse the repository at this point in the history
…doctest output in 32bit
  • Loading branch information
Matthias Koeppe committed Feb 20, 2022
1 parent 21ed44a commit b0a1a04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/sage/matrix/matrix_numpy_integer_dense.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""

# ****************************************************************************
Expand Down
3 changes: 2 additions & 1 deletion src/sage/modules/vector_numpy_integer_dense.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""

# ****************************************************************************
Expand Down

0 comments on commit b0a1a04

Please sign in to comment.