mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +00:00
Minor cleanup to recent 'Flag critical search tree in hash table' patch
No functional change
This commit is contained in:
committed by
Stéphane Nicolet
parent
d2acdac101
commit
d07e782e22
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user