aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/300_solve_small/solve_small.c2
-rw-r--r--tools/301_solve_file/solve_file.c2
-rw-r--r--tools/302_solve_multisol/solve_multisol.c2
-rw-r--r--tools/400_solvetest/solve_test.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/tools/300_solve_small/solve_small.c b/tools/300_solve_small/solve_small.c
index 073de89..1a2f034 100644
--- a/tools/300_solve_small/solve_small.c
+++ b/tools/300_solve_small/solve_small.c
@@ -36,7 +36,7 @@ void run(void) {
36 printf("Invalid scramble\n"); 36 printf("Invalid scramble\n");
37 continue; 37 continue;
38 } 38 }
39 n = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL, 39 n = nissy_solve(cube, solver, "", NISSY_NISSFLAG_NORMAL,
40 0, 20, 1, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats); 40 0, 20, 1, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats);
41 if (n == 0) 41 if (n == 0)
42 printf("No solution found\n"); 42 printf("No solution found\n");
diff --git a/tools/301_solve_file/solve_file.c b/tools/301_solve_file/solve_file.c
index fe41bb7..877be96 100644
--- a/tools/301_solve_file/solve_file.c
+++ b/tools/301_solve_file/solve_file.c
@@ -23,7 +23,7 @@ void run(void) {
23 printf("Invalid scramble\n"); 23 printf("Invalid scramble\n");
24 continue; 24 continue;
25 } 25 }
26 nsols = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL, 26 nsols = nissy_solve(cube, solver, "", NISSY_NISSFLAG_NORMAL,
27 0, 20, 1, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats); 27 0, 20, 1, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats);
28 if (nsols == 0) 28 if (nsols == 0)
29 printf("No solution found\n"); 29 printf("No solution found\n");
diff --git a/tools/302_solve_multisol/solve_multisol.c b/tools/302_solve_multisol/solve_multisol.c
index a03c2a0..7db2738 100644
--- a/tools/302_solve_multisol/solve_multisol.c
+++ b/tools/302_solve_multisol/solve_multisol.c
@@ -29,7 +29,7 @@ void run(void) {
29 printf("Invalid scramble\n"); 29 printf("Invalid scramble\n");
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, 0, 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");
diff --git a/tools/400_solvetest/solve_test.c b/tools/400_solvetest/solve_test.c
index 9b6c094..d4d5c68 100644
--- a/tools/400_solvetest/solve_test.c
+++ b/tools/400_solvetest/solve_test.c
@@ -57,7 +57,7 @@ void run(void) {
57 printf("Invalid scramble\n"); 57 printf("Invalid scramble\n");
58 continue; 58 continue;
59 } 59 }
60 n = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL, 60 n = nissy_solve(cube, solver, "", NISSY_NISSFLAG_NORMAL,
61 0, 20, 1, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats); 61 0, 20, 1, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats);
62 if (n == 0) { 62 if (n == 0) {
63 printf("Error: no solution\n"); 63 printf("Error: no solution\n");
@@ -78,7 +78,7 @@ void run(void) {
78 printf("Invalid scramble\n"); 78 printf("Invalid scramble\n");
79 continue; 79 continue;
80 } 80 }
81 n = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL, 81 n = nissy_solve(cube, solver, "", NISSY_NISSFLAG_NORMAL,
82 0, 20, 100, 0, 0, size, buf, SOL_BUFFER_LEN, sol, stats); 82 0, 20, 100, 0, 0, size, buf, SOL_BUFFER_LEN, sol, stats);
83 if (check_all(sol, s[i].solutions)) { 83 if (check_all(sol, s[i].solutions)) {
84 printf("All solutions are correct\n"); 84 printf("All solutions are correct\n");

Generated with cgit - Back to sebastiano.tronto.net