X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=0f5e6907b5f173de954483812068d4d6b70f08ca;hp=7249a113862f87ebe8cd6563f0bb3fa08e937ddb;hb=a6d13428f644d2ca475a190295f9528c92bdaaec;hpb=1322ab97c737fe761bd6ae8786f852851b8f019f diff --git a/src/search.cpp b/src/search.cpp index 7249a113..0f5e6907 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -363,7 +363,6 @@ void init_search() { void SearchStack::init() { currentMove = threatMove = bestMove = MOVE_NONE; - reduction = Depth(0); } // SearchStack::initKillers() initializes killers for a search stack entry @@ -2212,6 +2211,7 @@ namespace { { ss->excludedMove = MOVE_NONE; ss->skipNullMove = false; + ss->reduction = Depth(0); if (i < 3) {