diff options
Diffstat (limited to 'update.c')
-rw-r--r-- | update.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,8 +25,8 @@ void update_not_row_col(struct cell (*b)[9][9]) DEBUG_LOG("Update: (%d,%d) has value %d\n", x, y, val); for (i = 0; i < 9; i++) { - (*b)[i][y].not[val - 1] = 1; - (*b)[x][i].not[val - 1] = 1; + CELL_SET_NOT((*b)[i][y].not, val); + CELL_SET_NOT((*b)[x][i].not, val); } } } |