Skip to content

Commit e2c4de1

Browse files
Update matrix_exponentiation.py
1 parent 39483b9 commit e2c4de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/matrix_exponentiation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
class Matrix:
14-
def __init__(self, arg: list[list[int]] | int) -> None:
14+
def __init__(self, arg: list[list] | int) -> None:
1515
if isinstance(arg, list): # Initializes a matrix identical to the one provided.
1616
self.t = arg
1717
self.n = len(arg)

0 commit comments

Comments
 (0)