Skip to content

Commit 342ee9c

Browse files
committed
Fix naming convention: MatrixLike to matrix_like
1 parent bd5f6ba commit 342ee9c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

matrix/similar_matrices.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
__all__ = ["are_similar_matrices"]
3939

4040

41-
MatrixLike = Sequence[Sequence[Any]] | Matrix
41+
matrix_like = Sequence[Sequence[Any]] | Matrix
4242

4343

44-
def _as_square_matrix(matrix: MatrixLike, *, simplify_entries: bool) -> Matrix:
44+
def _as_square_matrix(matrix: matrix_like, *, simplify_entries: bool) -> Matrix:
4545
"""Return a SymPy matrix after validating that ``matrix`` is square.
4646
4747
Parameters
@@ -95,8 +95,8 @@ def _jordan_signature(matrix: Matrix) -> tuple[tuple[Any, tuple[int, ...]], ...]
9595

9696

9797
def are_similar_matrices(
98-
matrix_a: MatrixLike,
99-
matrix_b: MatrixLike,
98+
matrix_a: matrix_like,
99+
matrix_b: matrix_like,
100100
*,
101101
simplify_entries: bool = True,
102102
) -> bool:

0 commit comments

Comments
 (0)