Only (ss-1) and (ss-2) are used in qsearch.
closes https://github.com/official-stockfish/Stockfish/pull/4828
No functional change
futilityBase = std::min(ss->staticEval, bestValue) + 200;
}
futilityBase = std::min(ss->staticEval, bestValue) + 200;
}
- const PieceToHistory* contHist[] = { (ss-1)->continuationHistory, (ss-2)->continuationHistory,
- (ss-3)->continuationHistory, (ss-4)->continuationHistory,
- nullptr , (ss-6)->continuationHistory };
+ const PieceToHistory* contHist[] = {(ss-1)->continuationHistory, (ss-2)->continuationHistory};
// Initialize a MovePicker object for the current position, and prepare
// to search the moves. Because the depth is <= 0 here, only captures,
// Initialize a MovePicker object for the current position, and prepare
// to search the moves. Because the depth is <= 0 here, only captures,