Update some comments (#973)

Use somewhat more precise comments in a couple of places.

No functional change.
This commit is contained in:
Stéphane Nicolet
2017-01-17 14:50:03 +01:00
committed by Marco Costalba
parent de02768af7
commit 9f8f093fd6
3 changed files with 9 additions and 7 deletions
+4 -2
View File
@@ -875,7 +875,8 @@ moves_loop: // When in check search starts from here
moveCountPruning = depth < 16 * ONE_PLY
&& moveCount >= FutilityMoveCounts[improving][depth / ONE_PLY];
// Step 12. Extend checks
// Step 12. Extensions
// Extend checks
if ( givesCheck
&& !moveCountPruning
&& pos.see_ge(move, VALUE_ZERO))
@@ -901,7 +902,7 @@ moves_loop: // When in check search starts from here
extension = ONE_PLY;
}
// Update the current move (this must be done after singular extension search)
// Calculate new depth for this move
newDepth = depth - ONE_PLY + extension;
// Step 13. Pruning at shallow depth
@@ -953,6 +954,7 @@ moves_loop: // When in check search starts from here
continue;
}
// Update the current move (this must be done after singular extension search)
ss->currentMove = move;
ss->counterMoves = &thisThread->counterMoveHistory[moved_piece][to_sq(move)];