Skip to content

Commit d40c2a5

Browse files
committed
Added test for patch of issue 36104
1 parent 602b67e commit d40c2a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sage/matrix/matrix_modn_dense_template.pxi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,9 @@ cdef class Matrix_modn_dense_template(Matrix_dense):
514514
sage: Matrix(Integers(4618990), 2, 2, [-1, int(-2), GF(7)(-3), 1/7]) # needs sage.rings.finite_rings
515515
[4618989 4618988]
516516
[ 4 2639423]
517+
518+
sage: Matrix(IntegerModRing(200), [[int(2**128+1), int(2**256+1), int(2**1024+1)]]) # needs sage.rings.finite_rings
519+
[ 57 137 17]
517520
"""
518521
ma = MatrixArgs_init(parent, entries)
519522
cdef long i, j

0 commit comments

Comments
 (0)