mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Small cleanup
This non-functional change keeps formatting consistent. closes https://github.com/official-stockfish/Stockfish/pull/4623 Bench 2370027
This commit is contained in:
parent
32d3284df5
commit
0187546275
1 changed files with 0 additions and 4 deletions
|
@ -1463,9 +1463,7 @@ moves_loop: // When in check, search starts here
|
|||
|
||||
// Step 4. Static evaluation of the position
|
||||
if (ss->inCheck)
|
||||
{
|
||||
bestValue = futilityBase = -VALUE_INFINITE;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (ss->ttHit)
|
||||
|
@ -1480,11 +1478,9 @@ moves_loop: // When in check, search starts here
|
|||
bestValue = ttValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
// In case of null move search use previous static eval with a different sign
|
||||
ss->staticEval = bestValue = (ss-1)->currentMove != MOVE_NULL ? evaluate(pos)
|
||||
: -(ss-1)->staticEval;
|
||||
}
|
||||
|
||||
// Stand pat. Return immediately if static value is at least beta
|
||||
if (bestValue >= beta)
|
||||
|
|
Loading…
Add table
Reference in a new issue