Skip to content

Commit

Permalink
Added explanation of why doctests were needed
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrusbrawler64 committed Feb 4, 2025
1 parent ea37295 commit d922474
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sage/matrix/matrix_dense.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ cdef class Matrix_dense(matrix.Matrix):
TESTS:
Verify that :issue:`15067` is fixed::
sage: u = matrix(1, 2, [-1, 1])
sage: derivative(u, x)
[0 0]
Expand Down
2 changes: 2 additions & 0 deletions src/sage/matrix/matrix_sparse.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,8 @@ cdef class Matrix_sparse(matrix.Matrix):
TESTS:
Verify that :issue:`15067` is fixed::
sage: m = matrix(3, 3, {(1, 1): 2, (0,2): 5})
sage: derivative(m, x)
[0 0 0]
Expand Down

0 comments on commit d922474

Please sign in to comment.