Skip to content

Commit e117e39

Browse files
committed
remove useless matrix_from_rows
1 parent 8281253 commit e117e39

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
@@ -4186,7 +4186,7 @@ cdef class Matrix_polynomial_dense(Matrix_generic_dense):
41864186
nonzcols.append(j)
41874187

41884188
if len(nonzcols) == 0:
4189-
return matrix.identity(ring, n).matrix_from_rows(zcols)
4189+
return matrix.identity(ring, n)
41904190

41914191
# restrict to nonzero columns, and reverse entries column-wise
41924192
mat = self.matrix_from_columns(nonzcols)

0 commit comments

Comments
 (0)