From 2b1b1970f774aa451f4fae197c0b1177118f3570 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 1 Jun 2022 18:06:25 +0200 Subject: Another fix --- nissy | Bin 327768 -> 327768 bytes src/coord.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nissy b/nissy index b432583..266dc69 100755 Binary files a/nissy and b/nissy differ diff --git a/src/coord.c b/src/coord.c index 11bed25..a9df9fd 100644 --- a/src/coord.c +++ b/src/coord.c @@ -435,7 +435,7 @@ move_htrfin(Move m, uint64_t ind) a = move_cornershtrfin(m, ind / (24*24*24)); bm = eposm_mtable[m][ind%24] % 24; bs = eposs_mtable[m][(ind/24)%24] % 24; - be = epose_mtable[m][ind/(24*24)] % 24; + be = epose_mtable[m][(ind/(24*24))%24] % 24; b = (be * 24 + bs) * 24 + bm; return a * (24*24*24) + b; @@ -563,7 +563,7 @@ init_cornershtrfin() continue; for (m = U; m < NMOVES; m++) { if (moveset_htr.allowed(m)) { - c = apply_move(m, (Cube){.cp = j}).cp; + c = cp_mtable[m][j]; if (cornershtrfin_ind[c] == -1) { cornershtrfin_ind[c] = n; cornershtrfin_ant[n] = c; -- cgit v1.3