mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-26 20:16:14 +08:00
Cleanup qsearch continuation histories
Only (ss-1) and (ss-2) are used in qsearch. closes https://github.com/official-stockfish/Stockfish/pull/4828 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
edb4ab924f
commit
057046cc9a
@@ -1506,9 +1506,7 @@ moves_loop: // When in check, search starts here
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user