X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=c6bc8e372bcd28d4c02c8b2a6ccd1b22a3e4a6e8;hp=3985ad3049c6ba3d747c4285fceabbd6c5382cdb;hb=4064ee540649cb46ad4cc4a6080bd4ef41314cb9;hpb=b0fd2b6b983cd85c1f018577ca260e68568e4672 diff --git a/src/search.cpp b/src/search.cpp index 3985ad30..c6bc8e37 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -762,7 +762,7 @@ moves_loop: // When in check and at SpNode search starts from here Move countermoves[] = { Countermoves[pos.piece_on(prevMoveSq)][prevMoveSq].first, Countermoves[pos.piece_on(prevMoveSq)][prevMoveSq].second }; - MovePicker mp(pos, ttMove, depth, History, countermoves, ss, PvNode ? -VALUE_INFINITE : beta); + MovePicker mp(pos, ttMove, depth, History, countermoves, ss); CheckInfo ci(pos); value = bestValue; // Workaround a bogus 'uninitialized' warning under gcc singularExtensionNode = !RootNode