mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 09:13:08 +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:
parent
759d129e47
commit
b88374b14a
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue