mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-25 11:36:51 +08:00
Reset negative statScore on fail high
STC: LLR: 2.95 (-2.94,2.94) [0.00,5.00] Total: 9073 W: 1937 L: 1766 D: 5370 LTC: LLR: 2.95 (-2.94,2.94) [0.00,5.00] Total: 53530 W: 8139 L: 7823 D: 37568 Bench: 5170165
This commit is contained in:
committed by
Stéphane Nicolet
parent
759d129e47
commit
b88374b14a
@@ -1085,6 +1085,7 @@ moves_loop: // When in check, search starts from here
|
||||
else
|
||||
{
|
||||
assert(value >= beta); // Fail high
|
||||
ss->statScore = std::max(ss->statScore, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user