Skip to content

Commit 5683136

Browse files
committed
src/sage/matrix/matrix_gf2e_dense.pyx: speed up inverse example
We have an example in this file demonstrating is_invertible() for an element of GL(2^8, GF(2^8)). This is raising "slow doctest" warnings on the CI and on my own machine, but the exponent is not critical to the example. Lowering the "8" to a "6" makes the test complete much more quickly.
1 parent 1f45900 commit 5683136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/matrix/matrix_gf2e_dense.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ cdef class Matrix_gf2e_dense(matrix_dense.Matrix_dense):
10101010
10111011
EXAMPLES::
10121012
1013-
sage: m = Matrix(GL(2^8, GF(2^8)).random_element())
1013+
sage: m = Matrix(GL(2^6, GF(2^6)).random_element())
10141014
sage: m.is_invertible()
10151015
True
10161016
"""

0 commit comments

Comments
 (0)