X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=8b13f6e34907e1f0b98d75f13311f5b3a15f96ce;hp=f9809275ec2485a49ee737f5d00a4a78065ffb17;hb=12e79be91039796299187ba1b2f1559552642ea4;hpb=a0486ecb40513db8141fa27c026f64771b8ebb55 diff --git a/src/thread.cpp b/src/thread.cpp index f9809275..8b13f6e3 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -61,11 +61,11 @@ void Thread::clear() { mainHistory.fill(0); captureHistory.fill(0); - for (auto& to : contHistory) + for (auto& to : continuationHistory) for (auto& h : to) h.get()->fill(0); - contHistory[NO_PIECE][0].get()->fill(Search::CounterMovePruneThreshold - 1); + continuationHistory[NO_PIECE][0].get()->fill(Search::CounterMovePruneThreshold - 1); } /// Thread::start_searching() wakes up the thread that will start the search