diff options
Diffstat (limited to 'src/coord.c')
| -rw-r--r-- | src/coord.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |
