]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify TT cutoff
[stockfish] / src / search.cpp
index 616d11336eee92595882ce885f2175d114782e81..c2d35796231b0b9ebcb4a5645553e343a28d46b5 100644 (file)
@@ -616,7 +616,7 @@ namespace {
     // At non-PV nodes we check for an early TT cutoff
     if (  !PvNode
         && !excludedMove
-        && tte->depth() > depth - (tte->bound() == BOUND_EXACT)
+        && tte->depth() > depth
         && ttValue != VALUE_NONE // Possible in case of TT access race or if !ttHit
         && (tte->bound() & (ttValue >= beta ? BOUND_LOWER : BOUND_UPPER)))
     {