Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/matrix/matrix_numpy_dense.pyx: Fix doc markup, whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Feb 16, 2022
1 parent d07cf93 commit 93f3925
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/sage/matrix/matrix_numpy_dense.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ cdef class Matrix_numpy_dense(Matrix_dense):
trans.subdivide(col_divs, row_divs)
return trans

def is_symmetric(self, tol = 1e-12):
def is_symmetric(self, tol=1e-12):
"""
Return whether this matrix is symmetric, to the given tolerance.
Expand All @@ -297,7 +297,8 @@ cdef class Matrix_numpy_dense(Matrix_dense):
sage: m.is_symmetric()
False
The tolerance inequality is strict:
The tolerance inequality is strict::
sage: m.is_symmetric(tol=0.1)
False
sage: m.is_symmetric(tol=0.11)
Expand Down Expand Up @@ -431,7 +432,7 @@ cdef class Matrix_numpy_dense(Matrix_dense):
else:
return Matrix_dense.numpy(self, dtype=dtype)

def _replace_self_with_numpy(self,numpy_matrix):
def _replace_self_with_numpy(self, numpy_matrix):
"""
EXAMPLES::
Expand Down

0 comments on commit 93f3925

Please sign in to comment.