mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-06 10:53: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
1
AUTHORS
1
AUTHORS
@@ -205,6 +205,7 @@ Stefano Cardanobile (Stefano80)
|
||||
Stefano Di Martino (StefanoD)
|
||||
Steinar Gunderson (sesse)
|
||||
Stéphane Nicolet (snicolet)
|
||||
Stephen Touset (stouset)
|
||||
Syine Mineta (MinetaS)
|
||||
Thanar2
|
||||
thaspel
|
||||
|
||||
@@ -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