X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fthread.cpp;h=9ce408e059e02ac119d567a1eda7377f96110f7c;hb=e90341f9c9cd24e75aba2485b2ab1e445f4a5b70;hp=288588b0ee84cd805f0bc4e52868c91e21a81731;hpb=d5271af0ee28cb52e1033f183f3b34754aa5efa0;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); }