aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/coord.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coord.c b/src/coord.c
index 3812ae3..990ab11 100644
--- a/src/coord.c
+++ b/src/coord.c
@@ -364,7 +364,7 @@ move_cphtr(Move m, uint64_t ind)
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] = 366 aux[j][ui] =
367 cp_mtable[j][cphtr_right_rep[ind]]; 367 cp_mtable[j][cphtr_right_rep[ui]];
368 368
369 initialized = true; 369 initialized = true;
370 } 370 }
@@ -411,7 +411,7 @@ move_drud_eofb(Move m, uint64_t ind)
411 uint64_t a, b; 411 uint64_t a, b;
412 412
413 a = coud_mtable[m][ind % POW3TO7]; 413 a = coud_mtable[m][ind % POW3TO7];
414 b = epose_mtable[m][ind / POW3TO7]; 414 b = epose_mtable[m][(ind / POW3TO7) * 24] / 24;
415 415
416 return a + b * POW3TO7; 416 return a + b * POW3TO7;
417} 417}

Generated with cgit - Back to sebastiano.tronto.net