Skip to content

Commit 9f15f69

Browse files
committed
fix error message in related reverse method for univariate polynomial matrices
1 parent 29f8555 commit 9f15f69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/matrix/matrix_polynomial_dense.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ cdef class Matrix_polynomial_dense(Matrix_generic_dense):
675675
sage: M.reverse([2,3,-1])
676676
Traceback (most recent call last):
677677
...
678-
OverflowError: can't convert negative value to unsigned long
678+
ValueError: degree argument must be a non-negative integer, got -1
679679
680680
.. SEEALSO::
681681

0 commit comments

Comments
 (0)