Skip to content

Commit f599753

Browse files
committed
provide doctest
1 parent ba91c00 commit f599753

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/sage/matrix/matrix2.pyx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,13 @@ cdef class Matrix(Matrix1):
869869
Traceback (most recent call last):
870870
...
871871
ValueError: matrix equation has no solutions
872+
873+
Check that :issue:`28586` is fixed::
874+
875+
sage: m = matrix(GF(3), 2, 2, [1,2,2,0], sparse=True)
876+
sage: v = vector(GF(3), [1,1])
877+
sage: m.solve_right(v)
878+
(2, 1)
872879
"""
873880
try:
874881
L = B.base_ring()

0 commit comments

Comments
 (0)