Skip to content

Commit

Permalink
fix mask patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
yuantailing committed Jan 22, 2019
1 parent 0d50b3e commit 76f07c8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion MyQR/mylibs/matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ def formula(i, row, column):
elif i == 7:
return (((row + column) % 2) + ((row * column) % 3)) % 2 == 0

mm[-8][8] = None
for i in range(len(mm)):
for j in range(len(mm)):
mm[i][j] = 0 if mm[i][j] is not None else mm[i][j]
Expand Down

0 comments on commit 76f07c8

Please sign in to comment.