X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=a32ff4b6b2b209744951d2345a3bf3553b19cb66;hp=3f860ac5e5b9d073e93ab6f1f476a6a49e9c9eff;hb=2e1369d0302a87d570e509af7041a1be22b836a0;hpb=8352977b91d9246618c7273d59400a4a05a32e2a diff --git a/src/search.cpp b/src/search.cpp index 3f860ac5..a32ff4b6 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1339,7 +1339,7 @@ moves_loop: // When in check, search starts from here if (PvNode) bestValue = std::min(bestValue, maxValue); - if (!excludedMove) + if (!excludedMove && !(rootNode && thisThread->pvIdx)) tte->save(posKey, value_to_tt(bestValue, ss->ply), ttPv, bestValue >= beta ? BOUND_LOWER : PvNode && bestMove ? BOUND_EXACT : BOUND_UPPER,