mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00: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
|
else
|
||||||
{
|
{
|
||||||
assert(value >= beta); // Fail high
|
assert(value >= beta); // Fail high
|
||||||
|
ss->statScore = std::max(ss->statScore, 0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user