From 6f81596763820040ad2305cf94b06e4142640940 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sat, 16 Mar 2019 19:48:30 +1300 Subject: Remove old bug, correct typo --- solve.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solve.c b/solve.c index 9cfa38f..a5f02bf 100644 --- a/solve.c +++ b/solve.c @@ -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; -- cgit v1.1