fix EP_ZOBRIST_IDX macro (oops !)

This commit is contained in:
2024-06-17 07:35:14 +02:00
parent 148fef20ea
commit 2fbad1319e
2 changed files with 6 additions and 5 deletions

View File

@@ -93,7 +93,7 @@ typedef struct {
* we use the formula:
* idx = ( ( ep & SQUARE_NONE ) >> 3 ) | sq_file(ep);
*/
#define EP_ZOBRIST_IDX(ep) ( ( (ep) >> 3 ) | sq_file(ep) )
#define EP_ZOBRIST_IDX(ep) ( ( ( ep & SQUARE_NONE ) >> 3 ) | sq_file(ep) )
extern hkey_t zobrist_pieces[16][64];
extern hkey_t zobrist_castling[4 * 4 + 1];