X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsearch.cpp;h=0db8f6c2f9978ebf7935a9d8422f5115f3cfd8c1;hb=c769d4df84f0d4f6290956250c28460b66d95eeb;hp=f7efd41c03e628b460f690fed61023a92aa7d854;hpb=8cfcca12d1f31e69a1e00ef657743841a7ef18b9;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index f7efd41c..0db8f6c2 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -580,8 +580,6 @@ namespace { { if (!pos.capture_or_promotion(ttMove)) update_stats(pos, ss, ttMove, nullptr, 0, stat_bonus(depth)); - else - update_capture_stats(pos, ttMove, nullptr, 0, stat_bonus(depth)); // Extra penalty for a quiet TT move in previous ply when it gets refuted if ((ss-1)->moveCount == 1 && !pos.captured_piece())