From: VoyagerOne Date: Sat, 7 Apr 2018 13:46:29 +0000 (-0400) Subject: Reset negative statScore on fail high X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=b88374b14a7baa2f8e4c37b16a2e653e7472adcc;hp=759d129e4760938ded462a05061b421e18990937 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 --- diff --git a/src/search.cpp b/src/search.cpp index 435b7206..50f3a01b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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; } }