aboutsummaryrefslogtreecommitdiff
path: root/tools/300_solve_small
diff options
context:
space:
mode:
Diffstat (limited to 'tools/300_solve_small')
-rw-r--r--tools/300_solve_small/solve_small.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/300_solve_small/solve_small.c b/tools/300_solve_small/solve_small.c
index 5400436..622c36e 100644
--- a/tools/300_solve_small/solve_small.c
+++ b/tools/300_solve_small/solve_small.c
@@ -23,7 +23,8 @@ void run(void) {
23 for (i = 0; scrambles[i] != NULL; i++) { 23 for (i = 0; scrambles[i] != NULL; i++) {
24 printf("%d. %s\n", i+1, scrambles[i]); 24 printf("%d. %s\n", i+1, scrambles[i]);
25 printf("Solving scramble %s\n", scrambles[i]); 25 printf("Solving scramble %s\n", scrambles[i]);
26 if (nissy_frommoves(scrambles[i], cube) == -1) { 26 if (nissy_applymoves(NISSY_SOLVED_CUBE, scrambles[i], cube)
27 == -1) {
27 printf("Invalid scramble\n"); 28 printf("Invalid scramble\n");
28 continue; 29 continue;
29 } 30 }

Generated with cgit - Back to sebastiano.tronto.net