diff options
| author | Simon Tatham <anakin@pobox.com> | 2015-12-11 18:54:56 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2015-12-12 10:54:03 +0000 |
| commit | d1219cac3c2e0adf58a477e442a8656bcb55ed0f (patch) | |
| tree | 649847fcfb1dbc99089b8a5e1db8d3334e8c2436 /pattern.R | |
| parent | a845e6476d3f565454d487fda2af65f0062e063f (diff) | |
| download | puzzles-d1219cac3c2e0adf58a477e442a8656bcb55ed0f.zip puzzles-d1219cac3c2e0adf58a477e442a8656bcb55ed0f.tar.gz puzzles-d1219cac3c2e0adf58a477e442a8656bcb55ed0f.tar.bz2 puzzles-d1219cac3c2e0adf58a477e442a8656bcb55ed0f.tar.xz | |
Pattern: fix solver's handling of empty rows.
The algorithm for deducing how many squares in a row could be filled
in just from the initial clue set was focusing solely on _black_
squares, and forgot that if a row has a totally empty clue square then
everything in it can be filled in as white!
Now the solver can cope with puzzles such as 3x3:/1///1/ , where it
would previously have spuriously considered that it had no idea where
to start.
Diffstat (limited to 'pattern.R')
0 files changed, 0 insertions, 0 deletions