mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-26 03:56:50 +08:00
Remove Zobrist::noPawns
Zobrist::noPawns is no longer used. closes https://github.com/official-stockfish/Stockfish/pull/4344 no functional change
This commit is contained in:
committed by
Stéphane Nicolet
parent
76e1e8fd39
commit
027713c4b4
@@ -42,7 +42,7 @@ namespace Zobrist {
|
||||
Key psq[PIECE_NB][SQUARE_NB];
|
||||
Key enpassant[FILE_NB];
|
||||
Key castling[CASTLING_RIGHT_NB];
|
||||
Key side, noPawns;
|
||||
Key side;
|
||||
}
|
||||
|
||||
namespace {
|
||||
@@ -125,7 +125,6 @@ void Position::init() {
|
||||
Zobrist::castling[cr] = rng.rand<Key>();
|
||||
|
||||
Zobrist::side = rng.rand<Key>();
|
||||
Zobrist::noPawns = rng.rand<Key>();
|
||||
|
||||
// Prepare the cuckoo tables
|
||||
std::memset(cuckoo, 0, sizeof(cuckoo));
|
||||
|
||||
Reference in New Issue
Block a user