commit cfa0f0189080ee5d6862001555f11ab026ec63f9
parent 0c94ba6742de4021a49cbd5c51d3ae752eb60efd
Author: Sebastiano Tronto <sebastiano.tronto@gmail.com>
Date: Wed, 1 Jun 2022 17:50:44 +0200
More fixes
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/nissy b/nissy
Binary files differ.
diff --git 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;