We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be71e2f commit daea179Copy full SHA for daea179
linear_algebra/matrix_inversion.py
@@ -20,7 +20,7 @@ def invert_matrix(matrix: list[list[float]]) -> list[list[float]]:
20
21
22
if __name__ == "__main__":
23
- mat = [[4, 7], [2, 6]]
+ mat = [[4.0, 7.0], [2.0, 6.0]]
24
print("Original Matrix:")
25
print(mat)
26
print("Inverted Matrix:")
0 commit comments