diff --git a/src/search.cpp b/src/search.cpp index 45515555e..7c83cae24 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1077,9 +1077,8 @@ moves_loop: // When in check, search starts here lmrDepth += history / 3388; - Value futilityValue = - ss->staticEval + (bestMove ? 46 : 138) + 117 * lmrDepth - + 102 * (bestValue < ss->staticEval - 127 && ss->staticEval > alpha - 50); + Value futilityValue = ss->staticEval + (bestMove ? 46 : 138) + 117 * lmrDepth + + 102 * (ss->staticEval > alpha); // Futility pruning: parent node // (*Scaler): Generally, more frequent futility pruning