Skip to content

Commit

Permalink
fix function definition (keon#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
semalPatel authored and keon committed Dec 11, 2018
1 parent 81d0e4d commit 7a859d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algorithms/matrix/rotate_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# 4 5 6 => 4 5 6 => 8 5 2
# 7 8 9 1 2 3 9 6 3

def rotate(mat:"List[List[int]]"):
def rotate(mat):
if not mat:
return mat
mat.reverse()
Expand Down

0 comments on commit 7a859d2

Please sign in to comment.