We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d42d02 commit 36c82b7Copy full SHA for 36c82b7
src/search.cpp
@@ -875,7 +875,7 @@ namespace {
875
// but fixing this made program slightly weaker.
876
Depth predictedDepth = newDepth - reduction<PvNode>(depth, moveCount);
877
futilityValue = ss->staticEval + ss->evalMargin + futility_margin(predictedDepth, moveCount)
878
- + Gain[pos.piece_moved(move)][to_sq(move)];
+ + 2 * Gain[pos.piece_moved(move)][to_sq(move)];
879
880
if (futilityValue < beta)
881
{
0 commit comments