mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00:00
Update some comments (#973)
Use somewhat more precise comments in a couple of places. No functional change.
This commit is contained in:
committed by
Marco Costalba
parent
de02768af7
commit
9f8f093fd6
+4
-2
@@ -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)];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user