Minor cleanup to recent 'Flag critical search tree in hash table' patch

No functional change
This commit is contained in:
mstembera
2019-01-09 07:27:47 -08:00
committed by Stéphane Nicolet
parent d2acdac101
commit d07e782e22
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -643,7 +643,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;
pvHit = ttHit ? tte->pv_hit() : false;
pvHit = ttHit && tte->pv_hit();
// At non-PV nodes we check for an early TT cutoff
if ( !PvNode
@@ -881,7 +881,7 @@ namespace {
tte = TT.probe(posKey, ttHit);
ttValue = ttHit ? value_from_tt(tte->value(), ss->ply) : VALUE_NONE;
ttMove = ttHit ? tte->move() : MOVE_NONE;
pvHit = ttHit ? tte->pv_hit() : false;
pvHit = ttHit && tte->pv_hit();
}
moves_loop: // When in check, search starts from here
@@ -1292,7 +1292,7 @@ moves_loop: // When in check, search starts from here
tte = TT.probe(posKey, ttHit);
ttValue = ttHit ? value_from_tt(tte->value(), ss->ply) : VALUE_NONE;
ttMove = ttHit ? tte->move() : MOVE_NONE;
pvHit = ttHit ? tte->pv_hit() : false;
pvHit = ttHit && tte->pv_hit();
if ( !PvNode
&& ttHit