X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=0ebf4e20276fc0fed08e39a8448b8e7d3830ed2e;hb=057046cc9a114e38d9f616fa58cf230e9b15b9a7;hp=16c6b0f38f85ad9efd8c1eda19e4d7ca0ef4b105;hpb=edb4ab924f09abd7c6836c7017365dceccd76b80;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 16c6b0f3..0ebf4e20 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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,