From cfa0f0189080ee5d6862001555f11ab026ec63f9 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 1 Jun 2022 17:50:44 +0200 Subject: More fixes --- nissy | Bin 332048 -> 327768 bytes src/coord.c | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nissy b/nissy index 45bb947..b432583 100755 Binary files a/nissy and b/nissy differ diff --git a/src/coord.c b/src/coord.c index 3cff0c2..11bed25 100644 --- a/src/coord.c +++ b/src/coord.c @@ -363,8 +363,8 @@ move_cphtr(Move m, uint64_t ind) if (!initialized) { for (ui = 0; ui < BINOM8ON4*6; ui++) for (j = U; j < NMOVES; j++) - aux[j][ui] = index_cphtr( - cp_mtable[j][cphtr_right_rep[ui]]); + aux[j][ui] = cphtr_right_cosets[ + cp_mtable[j][cphtr_right_rep[ui]]]; initialized = true; } @@ -432,7 +432,7 @@ move_htrfin(Move m, uint64_t ind) { uint64_t a, b, bm, bs, be; - a = move_cornershtrfin(m, ind % (24*24*24)); + 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; -- cgit v1.3