summaryrefslogtreecommitdiff
path: root/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'update.c')
-rw-r--r--update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/update.c b/update.c
index 57c5dda..e2e4fbb 100644
--- a/update.c
+++ b/update.c
@@ -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);
}
}
}