1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +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:
VoyagerOne 2018-04-07 09:46:29 -04:00 committed by Stéphane Nicolet
parent 759d129e47
commit b88374b14a

View file

@ -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;
}
}