nissy-nx

A Rubik's cube optimal solver
git clone https://git.tronto.net/nissy-nx
Download | Log | Files | Refs | README | LICENSE

commit 2b1b1970f774aa451f4fae197c0b1177118f3570
parent cfa0f0189080ee5d6862001555f11ab026ec63f9
Author: Sebastiano Tronto <sebastiano.tronto@gmail.com>
Date:   Wed,  1 Jun 2022 18:06:25 +0200

Another fix

Diffstat:
Mnissy | 0
Msrc/coord.c | 4++--
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/nissy b/nissy Binary files differ. diff --git 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;