fix steps
All checks were successful
Linux arm64 / Build (push) Successful in 43s

This commit is contained in:
2025-02-01 23:00:36 +01:00
parent 78bdefebe5
commit 91c645e34f
5 changed files with 10 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ public class MixedSolver implements Solver {
if (possibleSymbols.size() == 1) {
cellToFill.setSymbolIndex(possibleSymbols.getFirst());
addStep(cellToFill, steps);
if (this.solve(doku)) {
if (this.solve(doku, steps)) {
return true;
}
}
@@ -61,7 +61,7 @@ public class MixedSolver implements Solver {
cellToFill.setSymbolIndex(nextSymbol);
addStep(cellToFill, steps);
if (this.solve(doku)) {
if (this.solve(doku, steps)) {
return true;
}
cellToFill.setSymbolIndex(Cell.NOSYMBOL);