doasku

Sudoku solver
git clone git://git.dimitrijedobrota.com/doasku.git
Log | Files | Refs | README | LICENSE

commit f74e799445706bddd08fcbce6a24676a8a4f987b
parent 7610d22bd50aa367c3ce076b6e53671603b3b3fd
Author: Dimitrije Dobrota <mail@dimitrijedobrota.com>
Date:   Wed, 17 Apr 2024 19:35:53 +0200

Remove redundant get_naked changes

Diffstat:
Mmain.cpp | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/main.cpp b/main.cpp @@ -202,6 +202,7 @@ class Ref { while (val) { const uint8_t idx = std::countr_zero(val); for (uint8_t pos = 0, i; pos < 9; pos++) { + if ((value[pos] & idx) == 0) continue; for (i = 0; i < og; i++) { if (pos == seen[i]) break; }