Skip to content

Commit 89b3465

Browse files
Update matrix_inversion.py
1 parent bf44644 commit 89b3465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: linear_algebra/matrix_inversion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def invert_matrix(matrix: list[list[float]]) -> list[list[float]]:
1414
>>> invert_matrix([[4.0, 7.0], [2.0, 6.0]])
1515
[[4.0, 7.0], [2.0, 6.0]]
1616
>>> invert_matrix([[1.0, 2.0], [0.0, 0.0]])
17-
[[4.0, 7.0], [2.0, 6.0]]
17+
[[1.0, 2.0], [0.0, 0.0]]
1818
"""
1919
np_matrix = np.array(matrix)
2020

0 commit comments

Comments
 (0)