diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-06-01 09:34:35 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-06-01 09:34:35 +0200 |
| commit | 62c9e8012e9a0844d9597b90723a928b71ad103b (patch) | |
| tree | a71621010f556333b10b85cf0ecf3398fd3a4734 /src/coord.c | |
| parent | f021ee7fa4975eab02c158451093a28e83a725d9 (diff) | |
| download | nissy-62c9e8012e9a0844d9597b90723a928b71ad103b.tar.gz nissy-62c9e8012e9a0844d9597b90723a928b71ad103b.zip | |
Fixed some bugs - still more testing needed
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 |
