mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 06:17:49 +00: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
@@ -205,6 +205,7 @@ Stefano Cardanobile (Stefano80)
|
|||||||
Stefano Di Martino (StefanoD)
|
Stefano Di Martino (StefanoD)
|
||||||
Steinar Gunderson (sesse)
|
Steinar Gunderson (sesse)
|
||||||
Stéphane Nicolet (snicolet)
|
Stéphane Nicolet (snicolet)
|
||||||
|
Stephen Touset (stouset)
|
||||||
Syine Mineta (MinetaS)
|
Syine Mineta (MinetaS)
|
||||||
Thanar2
|
Thanar2
|
||||||
thaspel
|
thaspel
|
||||||
|
|||||||
+1
-2
@@ -42,7 +42,7 @@ namespace Zobrist {
|
|||||||
Key psq[PIECE_NB][SQUARE_NB];
|
Key psq[PIECE_NB][SQUARE_NB];
|
||||||
Key enpassant[FILE_NB];
|
Key enpassant[FILE_NB];
|
||||||
Key castling[CASTLING_RIGHT_NB];
|
Key castling[CASTLING_RIGHT_NB];
|
||||||
Key side, noPawns;
|
Key side;
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
@@ -125,7 +125,6 @@ void Position::init() {
|
|||||||
Zobrist::castling[cr] = rng.rand<Key>();
|
Zobrist::castling[cr] = rng.rand<Key>();
|
||||||
|
|
||||||
Zobrist::side = rng.rand<Key>();
|
Zobrist::side = rng.rand<Key>();
|
||||||
Zobrist::noPawns = rng.rand<Key>();
|
|
||||||
|
|
||||||
// Prepare the cuckoo tables
|
// Prepare the cuckoo tables
|
||||||
std::memset(cuckoo, 0, sizeof(cuckoo));
|
std::memset(cuckoo, 0, sizeof(cuckoo));
|
||||||
|
|||||||
Reference in New Issue
Block a user