]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify captures ordering
[stockfish] / src / search.cpp
index 3985ad3049c6ba3d747c4285fceabbd6c5382cdb..c6bc8e372bcd28d4c02c8b2a6ccd1b22a3e4a6e8 100644 (file)
@@ -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