X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=98419b20fc75b9ee7bde88ce952da472719fff34;hp=6d1a66e5f8688b24e6c5d9f96d7e8fd5c4b2c2c9;hb=fcee0ce6a39a28ffdfa4b1ed438b353a895edb6b;hpb=8152a74ab4f703717fdb493cf9059f89be9a4fba diff --git a/src/search.cpp b/src/search.cpp index 6d1a66e5..98419b20 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -341,7 +341,7 @@ void Thread::search() { bestValue = delta = alpha = -VALUE_INFINITE; beta = VALUE_INFINITE; - multiPV = Options["MultiPV"]; + size_t multiPV = Options["MultiPV"]; // Pick integer skill levels, but non-deterministically round up or down // such that the average integer skill corresponds to the input floating point one. @@ -934,12 +934,6 @@ moves_loop: // When in check, search starts from here sync_cout << "info depth " << depth / ONE_PLY << " currmove " << UCI::move(move, pos.is_chess960()) << " currmovenumber " << moveCount + thisThread->pvIdx << sync_endl; - - // In MultiPV mode also skip moves which will be searched later as PV moves - if (rootNode && std::count(thisThread->rootMoves.begin() + thisThread->pvIdx + 1, - thisThread->rootMoves.begin() + thisThread->multiPV, move)) - continue; - if (PvNode) (ss+1)->pv = nullptr;