X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=5ff23ad0fd894791c7b5e8ac625246c40343e1e5;hp=ed029b4c4a08e6d15b3ef28f2b4b246b04ad74d9;hb=36c82b751ce227c05bfb;hpb=7d42d02ec77a03c4c1e1b399df30ef8b363c1237 diff --git a/src/search.cpp b/src/search.cpp index ed029b4c..5ff23ad0 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -875,7 +875,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) - + Gain[pos.piece_moved(move)][to_sq(move)]; + + 2 * Gain[pos.piece_moved(move)][to_sq(move)]; if (futilityValue < beta) {