mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-23 05:07:14 +00:00
Fix Typo
closes https://github.com/official-stockfish/Stockfish/pull/6436 No functional change
This commit is contained in:
+1
-7
@@ -699,18 +699,12 @@ Value Search::Worker::search(
|
||||
ss->ttPv = excludedMove ? ss->ttPv : PvNode || (ttHit && ttData.is_pv);
|
||||
ttCapture = ttData.move && pos.capture_stage(ttData.move);
|
||||
|
||||
// At this point, if excluded, skip straight to step 6, static eval. However,
|
||||
// to save indentation, we list the condition in all code between here and there.
|
||||
|
||||
// Step 6. Static evaluation of the position
|
||||
Value unadjustedStaticEval = VALUE_NONE;
|
||||
const auto correctionValue = correction_value(*this, pos, ss);
|
||||
// Skip early pruning when in check
|
||||
if (ss->inCheck)
|
||||
{
|
||||
// Skip early pruning when in check
|
||||
ss->staticEval = eval = (ss - 2)->staticEval;
|
||||
improving = false;
|
||||
}
|
||||
else if (excludedMove)
|
||||
unadjustedStaticEval = eval = ss->staticEval;
|
||||
else if (ss->ttHit)
|
||||
|
||||
Reference in New Issue
Block a user