mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00: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:
parent
edb4ab924f
commit
057046cc9a
1 changed files with 1 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue