X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=df777b3b170d48b25b0681e2502715678d46d515;hb=2ead74d1e2b0c5edbb0da5887e56bbddb5b2a905;hp=f26ab959ba27ee829c9c07c9c4069b9b3a0a57ba;hpb=53d197b841731840891c783bb7e044f012db4aa7;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index f26ab959..df777b3b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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