diff options
Diffstat (limited to 'src/coord.c')
| -rw-r--r-- | src/coord.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coord.c b/src/coord.c index abfa1b9..3812ae3 100644 --- a/src/coord.c +++ b/src/coord.c | |||
| @@ -280,7 +280,7 @@ move_eofbepos(Move m, uint64_t ind) | |||
| 280 | a = epose_mtable[m][(ind / POW2TO11)*24]; | 280 | a = epose_mtable[m][(ind / POW2TO11)*24]; |
| 281 | b = eofb_mtable[m][ind % POW2TO11]; | 281 | b = eofb_mtable[m][ind % POW2TO11]; |
| 282 | 282 | ||
| 283 | return a/24 + b; | 283 | return (a/24) * POW2TO11 + b; |
| 284 | } | 284 | } |
| 285 | 285 | ||
| 286 | static uint64_t | 286 | static uint64_t |
