diff options
author | Bryan Brattlof <hello@bryanbrattlof.com> | 2020-08-09 09:01:54 -0400 |
---|---|---|
committer | Bryan Brattlof <hello@bryanbrattlof.com> | 2020-08-09 09:03:38 -0400 |
commit | 1eeb777c57d844e4f64dace43a62e2c86700733a (patch) | |
tree | 5ff4534013b24b6c0e9d3b468a338e517af67ba0 | |
parent | 79ddf104c674fcef4f90119372e838d0a270a7d5 (diff) | |
download | sudoku-canon.tar.gz sudoku-canon.tar.bz2 |
Once all the squares in the sudoku puzzle 'solve' will exit the
'while' loop with a solved puzzle. This means the global PUZZLE has
been solved and we should return true here, not PUZZLE.
This solved the unknown in 789c5ff
-rw-r--r-- | c/sudoku.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -75,7 +75,7 @@ bool solve() i++; } - return PUZZLE; + return true; } |