aboutsummaryrefslogtreecommitdiff
path: root/src/nissy.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2026-09-16 17:35:54 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2026-09-17 21:22:28 +0200
commit654e6c34637c9ba344a3620014de22f8f3dfb4ca (patch)
tree35acae2c5baaca7af659aa9807c7f5a94647b1d1 /src/nissy.c
parent3cb60bcbf4ab9af4e9452a43681f1e7176b0c88f (diff)
downloadnissy-core-654e6c34637c9ba344a3620014de22f8f3dfb4ca.tar.gz
nissy-core-654e6c34637c9ba344a3620014de22f8f3dfb4ca.zip
Increase max solution len to 25 (for 2-step solver)
Diffstat (limited to '')
-rw-r--r--src/nissy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nissy.c b/src/nissy.c
index 0811861..5423d8d 100644
--- a/src/nissy.c
+++ b/src/nissy.c
@@ -328,10 +328,10 @@ nissy_solve(
328 return NISSY_ERROR_INVALID_CUBE; 328 return NISSY_ERROR_INVALID_CUBE;
329 } 329 }
330 330
331 if (maxmoves > 20) { 331 if (maxmoves > SOLUTION_MAXLEN) {
332 LOG("[solve] 'maxmoves' larger than 20 not supported yet, " 332 LOG("[solve] 'maxmoves' larger than %d not supported yet, "
333 "setting it to 20\n"); 333 "setting it to %d\n", SOLUTION_MAXLEN, SOLUTION_MAXLEN);
334 maxmoves = 20; 334 maxmoves = SOLUTION_MAXLEN;
335 } 335 }
336 336
337 if (minmoves > maxmoves) { 337 if (minmoves > maxmoves) {

Generated with cgit - Back to sebastiano.tronto.net