Skip to content

Commit fbaa538

Browse files
FauziAkramPikaCat-OuO
authored andcommitted
FutilityValue formula tweak
1 parent 460c54f commit fbaa538

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/search.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,9 @@ Value Search::Worker::search(
968968

969969
Value futilityValue = ss->staticEval + (bestMove ? 96 : 215) + 120 * lmrDepth;
970970

971+
if (bestValue < ss->staticEval - 150 && lmrDepth < 7)
972+
futilityValue += 108;
973+
971974
// Futility pruning: parent node
972975
if (!ss->inCheck && lmrDepth < 10 && futilityValue <= alpha)
973976
{

0 commit comments

Comments
 (0)