aboutsummaryrefslogtreecommitdiff
path: root/src/moves.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-12 12:13:42 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-12 12:13:42 +0100
commit490d6b168d29b46e55c48c59b5bdde281eebe67e (patch)
treef9ca5c3e9e26de580240cc9af22e06d3b7989bfe /src/moves.c
parent9725570d740041b51d6bdfbc8416498ddad77666 (diff)
downloadnissy-490d6b168d29b46e55c48c59b5bdde281eebe67e.tar.gz
nissy-490d6b168d29b46e55c48c59b5bdde281eebe67e.zip
Faster inverse cube; makes optimal solving about 30% faster
Diffstat (limited to '')
-rw-r--r--src/moves.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/moves.c b/src/moves.c
index bb749a5..5aca0ee 100644
--- a/src/moves.c
+++ b/src/moves.c
@@ -384,6 +384,8 @@ init_moves() {
384 Move m; 384 Move m;
385 Alg *equiv_alg[NMOVES]; 385 Alg *equiv_alg[NMOVES];
386 386
387 init_cube();
388
387 for (i = 0; i < NMOVES; i++) 389 for (i = 0; i < NMOVES; i++)
388 equiv_alg[i] = new_alg(equiv_alg_string[i]); 390 equiv_alg[i] = new_alg(equiv_alg_string[i]);
389 391

Generated with cgit - Back to sebastiano.tronto.net