mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 08:13:08 +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)
|
||||
{
|
||||
ss->cutoffCnt += 1 + !ttData.move - (extension >= 2);
|
||||
ss->cutoffCnt += !ttData.move + (extension < 2);
|
||||
assert(value >= beta); // Fail high
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue