Closed
Description
Hey JingShing
nice job providing this. :)
i have prob two findings:
- if color >= (color>>2) > matrix[row&matrix_len][col&matrix_len]:
do you really need the first condition? the first condition is always fullfilled - i guess the indexing formula e.g. row&matrix_len does only work for 8,4 and 2 but not for 3 or isnt it?
in case of 3 you get only index of 0 or 2 but never 1. i guess you want do somthing like modulo or?
regards Stephan
Metadata
Metadata
Assignees
Labels
No labels