mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Simpler formula for ss->cutoffCnt update
closes https://github.com/official-stockfish/Stockfish/pull/5548 No functional change
This commit is contained in:
parent
54def6f7eb
commit
451044202a
1 changed files with 1 additions and 1 deletions
|
@ -1292,7 +1292,7 @@ moves_loop: // When in check, search starts here
|
||||||
|
|
||||||
if (value >= beta)
|
if (value >= beta)
|
||||||
{
|
{
|
||||||
ss->cutoffCnt += 1 + !ttData.move - (extension >= 2);
|
ss->cutoffCnt += !ttData.move + (extension < 2);
|
||||||
assert(value >= beta); // Fail high
|
assert(value >= beta); // Fail high
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue