aboutsummaryrefslogtreecommitdiff
path: root/tools/302_solve_multisol
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-12-14 11:59:22 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2024-12-14 11:59:22 +0100
commit4a88a686d5e08404080ed6954b70c0db252aa220 (patch)
treec1fb469d5a2a68c8e4651ad7837d3dd6fe2ff93e /tools/302_solve_multisol
parent9ac266c76f39620d8343e46ca41cb09d1534384c (diff)
downloadnissy-core-4a88a686d5e08404080ed6954b70c0db252aa220.tar.gz
nissy-core-4a88a686d5e08404080ed6954b70c0db252aa220.zip
Allow choosing number of threads when calling solve()
Diffstat (limited to 'tools/302_solve_multisol')
-rw-r--r--tools/302_solve_multisol/solve_multisol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/302_solve_multisol/solve_multisol.c b/tools/302_solve_multisol/solve_multisol.c
index 739ccbd..a03c2a0 100644
--- a/tools/302_solve_multisol/solve_multisol.c
+++ b/tools/302_solve_multisol/solve_multisol.c
@@ -30,7 +30,7 @@ void run(void) {
30 continue; 30 continue;
31 } 31 }
32 n = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL, 32 n = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL,
33 0, 20, nsol, -1, size, buf, SOL_BUFFER_LEN, sol, stats); 33 0, 20, nsol, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats);
34 if (n == 0) 34 if (n == 0)
35 printf("No solution found\n"); 35 printf("No solution found\n");
36 else 36 else

Generated with cgit - Back to sebastiano.tronto.net