aboutsummaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2022-01-15 19:16:34 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2022-01-15 19:16:34 +0100
commit719080e6a88c4e17ba33a8dfec817e2d89ee666e (patch)
tree8ef78a30f2f86fdc70093327d6cf75c47895f539 /src/commands.c
parent298e9e11eda1db26fabced2e4ff14ce51c15a862 (diff)
downloadnissy-719080e6a88c4e17ba33a8dfec817e2d89ee666e.tar.gz
nissy-719080e6a88c4e17ba33a8dfec817e2d89ee666e.zip
Added one adhoc test (cornerhtr from CO)
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands.c b/src/commands.c
index 9ecc9c7..740736c 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -367,7 +367,7 @@ solve_exec(CommandArgs *args)
367 Cube c; 367 Cube c;
368 AlgList *sols; 368 AlgList *sols;
369 369
370 init_movesets(); 370 init_all_movesets();
371 init_symcoord(); 371 init_symcoord();
372 372
373 c = apply_alg(args->scramble, (Cube){0}); 373 c = apply_alg(args->scramble, (Cube){0});
@@ -388,7 +388,7 @@ scramble_exec(CommandArgs *args)
388 Alg *scr; 388 Alg *scr;
389 int i; 389 int i;
390 390
391 init_movesets(); 391 init_all_movesets();
392 init_symcoord(); 392 init_symcoord();
393 393
394 srand(time(NULL)); 394 srand(time(NULL));
@@ -407,7 +407,7 @@ gen_exec(CommandArgs *args)
407 int i; 407 int i;
408 408
409 fprintf(stderr, "Generating coordinates...\n"); 409 fprintf(stderr, "Generating coordinates...\n");
410 init_movesets(); 410 init_all_movesets();
411 init_symcoord(); 411 init_symcoord();
412 412
413 fprintf(stderr, "Generating pruning tables...\n"); 413 fprintf(stderr, "Generating pruning tables...\n");
@@ -460,7 +460,7 @@ twophase_exec(CommandArgs *args)
460 Cube c; 460 Cube c;
461 Alg *sol; 461 Alg *sol;
462 462
463 init_movesets(); 463 init_all_movesets();
464 init_symcoord(); 464 init_symcoord();
465 465
466 c = apply_alg(args->scramble, (Cube){0}); 466 c = apply_alg(args->scramble, (Cube){0});

Generated with cgit - Back to sebastiano.tronto.net