]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Remove depth condition for ttPv (#2166)
[stockfish] / src / search.cpp
index f26ab959ba27ee829c9c07c9c4069b9b3a0a57ba..df777b3b170d48b25b0681e2502715678d46d515 100644 (file)
@@ -603,7 +603,7 @@ namespace {
     ttValue = ttHit ? value_from_tt(tte->value(), ss->ply) : VALUE_NONE;
     ttMove =  rootNode ? thisThread->rootMoves[thisThread->pvIdx].pv[0]
             : ttHit    ? tte->move() : MOVE_NONE;
-    ttPv = (ttHit && tte->is_pv()) || (PvNode && depth > 4 * ONE_PLY);
+    ttPv = PvNode || (ttHit && tte->is_pv());
 
     // At non-PV nodes we check for an early TT cutoff
     if (  !PvNode