mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00:00
Remove an useless comparison in futility pruning
Currently futility is allowed when depth < SelectiveDepth and SelectiveDepth is 7*OnePly, so the comprison is always true. Patch could introduce a functional change only if we choose to increase SelectiveDepth. Currently no functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
f010b6db71
commit
11491e71ee
1 changed files with 1 additions and 1 deletions
|
@ -1375,7 +1375,7 @@ namespace {
|
|||
continue;
|
||||
|
||||
// Value based pruning
|
||||
if (depth < 7 * OnePly && approximateEval < beta)
|
||||
if (approximateEval < beta)
|
||||
{
|
||||
if (futilityValue == VALUE_NONE)
|
||||
futilityValue = evaluate(pos, ei, threadID)
|
||||
|
|
Loading…
Add table
Reference in a new issue