X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=6d78403ffd975db6cac1303266730e2950eb7775;hb=5f290352cd91beb9374671f6ae489165bd8ac2c0;hp=7244b8d661eaee133e774e28b1ca3f6117be69cd;hpb=3370f69881564025d933668ea5d407af0c5dcea2;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 7244b8d6..6d78403f 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -636,7 +636,7 @@ namespace { // At non-PV nodes we check for an early TT cutoff if ( !PvNode && ss->ttHit - && tte->depth() > depth - ((int)thisThread->id() & 0x1) - (tte->bound() == BOUND_EXACT) + && tte->depth() > depth - (tte->bound() == BOUND_EXACT) && ttValue != VALUE_NONE // Possible in case of TT access race && (tte->bound() & (ttValue >= beta ? BOUND_LOWER : BOUND_UPPER))) {