X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=c369bac3a98d0f64c2336f3cab725e380bc384ed;hp=4fd1c03d0a8830ba5411e991a13481e3336a61e5;hb=14dbeb22dd04f0954322a58c26833506fb4532a9;hpb=68eb7e77f16e96642d90eeec0abe7312631ae2ac diff --git a/src/search.cpp b/src/search.cpp index 4fd1c03d..c369bac3 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1440,7 +1440,7 @@ namespace { // Loop through all legal moves until no moves remain or a beta cutoff occurs // Initialize a MovePicker object for the current position - MovePicker mp = MovePicker(pos, ttMove, depth, H, &ss[ply]); + MovePicker mp = MovePicker(pos, ttMove, depth, H, &ss[ply], beta); CheckInfo ci(pos); while ( bestValue < beta