X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsearch.cpp;h=60667c8764e32a01f904477e66ad614b57b73b57;hb=8c10029df135f841126d17a65002e217c7ca1887;hp=e246512e985bbccff13c91c307454f680dd24356;hpb=6e2371a86bd987487d836482cd9bbe4ceaac2ef7;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index e246512e..60667c87 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -876,7 +876,7 @@ split_point_start: // At split points actual search starts from here // but fixing this made program slightly weaker. Depth predictedDepth = newDepth - reduction(depth, moveCount); futilityValue = ss->staticEval + ss->evalMargin + futility_margin(predictedDepth, moveCount) - + 2 * Gain[pos.piece_moved(move)][to_sq(move)]; + + Gain[pos.piece_moved(move)][to_sq(move)]; if (futilityValue < beta) {