aboutsummaryrefslogtreecommitdiff
path: root/src/solvers/solutions.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-07-30 16:35:25 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-07-30 16:35:25 +0200
commit36c317ebd1cf1dba8a8cbec494f4d3971e6cefd3 (patch)
treea8c28fa9c3df047a109cd617533d83d0637ead02 /src/solvers/solutions.h
parent6cf7cd87a90a1314332aace1d25b9c0f230dc227 (diff)
downloadnissy-core-36c317ebd1cf1dba8a8cbec494f4d3971e6cefd3.tar.gz
nissy-core-36c317ebd1cf1dba8a8cbec494f4d3971e6cefd3.zip
Fixed bug with counting solutions for coordinate solver
Diffstat (limited to '')
-rw-r--r--src/solvers/solutions.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/solvers/solutions.h b/src/solvers/solutions.h
index f3761d9..0eb3a7f 100644
--- a/src/solvers/solutions.h
+++ b/src/solvers/solutions.h
@@ -255,7 +255,6 @@ solutions_done(
255 int8_t depth 255 int8_t depth
256) 256)
257{ 257{
258
259 return depth > settings->maxmoves || 258 return depth > settings->maxmoves ||
260 depth > list->shortest_sol + settings->optimal || 259 depth > list->shortest_sol + settings->optimal ||
261 list->nsols >= settings->maxsolutions; 260 list->nsols >= settings->maxsolutions;

Generated with cgit - Back to sebastiano.tronto.net