mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 09:13:08 +00:00
Change depth - 1 to newDepth
Replacing 'depth - 1' with 'newDepth' in the singularbeta formula utilizes existing variables more succinctly. closes https://github.com/official-stockfish/Stockfish/pull/4876 No functional change
This commit is contained in:
parent
7970236e9e
commit
504bf0e8b8
1 changed files with 1 additions and 1 deletions
|
@ -1045,7 +1045,7 @@ moves_loop: // When in check, search starts here
|
||||||
&& tte->depth() >= depth - 3)
|
&& tte->depth() >= depth - 3)
|
||||||
{
|
{
|
||||||
Value singularBeta = ttValue - (64 + 57 * (ss->ttPv && !PvNode)) * depth / 64;
|
Value singularBeta = ttValue - (64 + 57 * (ss->ttPv && !PvNode)) * depth / 64;
|
||||||
Depth singularDepth = (depth - 1) / 2;
|
Depth singularDepth = newDepth / 2;
|
||||||
|
|
||||||
ss->excludedMove = move;
|
ss->excludedMove = move;
|
||||||
value =
|
value =
|
||||||
|
|
Loading…
Add table
Reference in a new issue