X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fthread.cpp;h=9ce408e059e02ac119d567a1eda7377f96110f7c;hb=d6b6360ff5dcdffa141f50d0a81d0be7c6324c71;hp=288588b0ee84cd805f0bc4e52868c91e21a81731;hpb=f436bf77ad2eb42228747d9aa58eeb7403e23d49;p=stockfish diff --git a/src/thread.cpp b/src/thread.cpp index 288588b0..9ce408e0 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -64,12 +64,9 @@ void Thread::clear() { for (bool inCheck : { false, true }) for (StatsType c : { NoCaptures, Captures }) - { for (auto& to : continuationHistory[inCheck][c]) - for (auto& h : to) - h->fill(-71); - continuationHistory[inCheck][c][NO_PIECE][0]->fill(Search::CounterMovePruneThreshold - 1); - } + for (auto& h : to) + h->fill(-71); }