X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=2c9240146b32b46791efcb755a46f3236a83f18c;hp=ffe724aa10a864d8b3fad173c5a91c5fa9bb7e26;hb=8b15961349e18a9ba113973c53f53913d0cd0fad;hpb=e9f26cccdde7ca6e0941bb4b9066665a68c5bc42 diff --git a/src/search.cpp b/src/search.cpp index ffe724aa..2c924014 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1505,7 +1505,7 @@ string UCI::pv(const Position& pos, Depth depth, Value alpha, Value beta) { for (size_t i = 0; i < multiPV; ++i) { - bool updated = (i <= PVIdx); + bool updated = (i <= PVIdx && rootMoves[i].score != -VALUE_INFINITE); if (depth == ONE_PLY && !updated) continue;