Skip to content

Commit 9cea0be

Browse files
Update matrix_inversion.py
1 parent 89b3465 commit 9cea0be

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
@@ -12,7 +12,7 @@ def invert_matrix(matrix: list[list[float]]) -> list[list[float]]:
1212
list[list[float]]: Inverted matrix if invertible, else raises error.
1313
1414
>>> invert_matrix([[4.0, 7.0], [2.0, 6.0]])
15-
[[4.0, 7.0], [2.0, 6.0]]
15+
[[0.6000000000000001, -0.7000000000000001], [-0.2, 0.4]]
1616
>>> invert_matrix([[1.0, 2.0], [0.0, 0.0]])
1717
[[1.0, 2.0], [0.0, 0.0]]
1818
"""

0 commit comments

Comments
 (0)