mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 19:16:49 +08:00
Small tweaks to search()
No functional change also in faked split mode To be sure verified in real games with 4 threads TC 2"+0.1 After 11125 games 2497 - 2469 - 6159 ELO +0 (+- 4.4) Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -230,7 +230,7 @@ Score PawnInfo::updateShelter(const Position& pos, Square ksq) {
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
r += Shift;
|
||||
shelter += BitCount8Bit[(pawns >> r) & 0xFF] * (64 >> i);
|
||||
shelter += BitCount8Bit[(pawns >> r) & 0xFF] << (6 - i);
|
||||
}
|
||||
}
|
||||
kingSquares[Us] = ksq;
|
||||
|
||||
Reference in New Issue
Block a user