diff options
author | David Phillips <david@sighup.nz> | 2019-03-16 19:48:30 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2019-03-16 19:49:59 +1300 |
commit | 6f81596763820040ad2305cf94b06e4142640940 (patch) | |
tree | df5b9ebe8de164e1edcd0d543a8a80184b425cd5 | |
parent | 734c30391d96c4cb74e328f94b05b33b4e2db98a (diff) | |
download | sudoku-6f81596763820040ad2305cf94b06e4142640940.tar.xz |
Remove old bug, correct typo
-rw-r--r-- | solve.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,7 +33,7 @@ int solve_row_col(struct cell (*b)[9][9]) { total++; } else { - val = i + 1; + val = i; } } if (total == 8) { @@ -165,7 +165,7 @@ int cell_fill_certainties(struct cell (*b)[9][9], int bx, int by) DEBUG_LOG("will_take_count is %d\n", will_take_count); /* Don't make indeterminate choices here*/ if (will_take_count == 1) { - printf("%c%c must be %d because it is the only place in its boxthis will fit\n", + printf("%c%c must be %d because it is the only place in its box this will fit\n", NAME_CELL(will_take_x, will_take_y), val); (*b)[will_take_x][will_take_y].val = val; |