frederikja163 / frederikja163/SudoScript

Sum.EliminateCandidates() doesn't terminate under certain conditions. (Needs more investigation)

Open
#82 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
6
Forks
0
PR merge metrics
No merged PRs in 30d

Description

In a test with 2 units containing sum rules, Solver.Solve() was unable to terminate. Removing the rules from the board lead to the method terminating with success. Both units had less than five cells, and the board was of non-standard size and shape.
Needs more testing to nail down the exact issue, but it is most definitely Sum.EliminateCandidates() never finishing, based on debug analysis.

Method responsible for creating the board is attached.

[temp.txt](https://github.com/user-attachments/files/17335354/temp.txt)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.