X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=b891d09bcdd68bd7e8ee6373122142bc38a7587a;hp=b75870ff5021968f66d0e0a0aa02271a310cec00;hb=fa24cc25a43da5ac41a086edda02dfc2e8e9b830;hpb=5254a6040c59cf7d3b9faa847168ccbd628c0574 diff --git a/src/search.cpp b/src/search.cpp index b75870ff..b891d09b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -657,7 +657,7 @@ namespace { update_cm_stats(ss-1, pos.piece_on(prevSq), prevSq, -stat_bonus(depth + ONE_PLY)); } // Penalty for a quiet ttMove that fails low - else if (ttValue < alpha && !pos.capture_or_promotion(ttMove)) + else if (!pos.capture_or_promotion(ttMove)) { Value penalty = -stat_bonus(depth + ONE_PLY); thisThread->history.update(pos.side_to_move(), ttMove, penalty);