diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2022-06-01 17:50:44 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2022-06-01 17:50:44 +0200 |
| commit | cfa0f0189080ee5d6862001555f11ab026ec63f9 (patch) | |
| tree | bdf6e5618d8ecde70b2a6f42f120ea8a390b2e33 | |
| parent | 0c94ba6742de4021a49cbd5c51d3ae752eb60efd (diff) | |
| download | nissy-cfa0f0189080ee5d6862001555f11ab026ec63f9.tar.gz nissy-cfa0f0189080ee5d6862001555f11ab026ec63f9.zip | |
More fixes
| -rwxr-xr-x | nissy | bin | 332048 -> 327768 bytes | |||
| -rw-r--r-- | src/coord.c | 6 |
2 files changed, 3 insertions, 3 deletions
| Binary files 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) | |||
| 363 | if (!initialized) { | 363 | if (!initialized) { |
| 364 | for (ui = 0; ui < BINOM8ON4*6; ui++) | 364 | for (ui = 0; ui < BINOM8ON4*6; ui++) |
| 365 | for (j = U; j < NMOVES; j++) | 365 | for (j = U; j < NMOVES; j++) |
| 366 | aux[j][ui] = index_cphtr( | 366 | aux[j][ui] = cphtr_right_cosets[ |
| 367 | cp_mtable[j][cphtr_right_rep[ui]]); | 367 | cp_mtable[j][cphtr_right_rep[ui]]]; |
| 368 | 368 | ||
| 369 | initialized = true; | 369 | initialized = true; |
| 370 | } | 370 | } |
| @@ -432,7 +432,7 @@ move_htrfin(Move m, uint64_t ind) | |||
| 432 | { | 432 | { |
| 433 | uint64_t a, b, bm, bs, be; | 433 | uint64_t a, b, bm, bs, be; |
| 434 | 434 | ||
| 435 | a = move_cornershtrfin(m, ind % (24*24*24)); | 435 | a = move_cornershtrfin(m, ind / (24*24*24)); |
| 436 | bm = eposm_mtable[m][ind%24] % 24; | 436 | bm = eposm_mtable[m][ind%24] % 24; |
| 437 | bs = eposs_mtable[m][(ind/24)%24] % 24; | 437 | bs = eposs_mtable[m][(ind/24)%24] % 24; |
| 438 | be = epose_mtable[m][ind/(24*24)] % 24; | 438 | be = epose_mtable[m][ind/(24*24)] % 24; |
