X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=30abecd0ed563df77dd681af6f7429e1654b7bfc;hp=a6db7a3ef8883b41701200f7d5e0124bb33be5ea;hb=8df816f86936ead437c0f2c54fd697d1c4627bd5;hpb=9c428afb6dd0dcba2aa4e2a367a6b35c6f335be0 diff --git a/src/search.cpp b/src/search.cpp index a6db7a3e..30abecd0 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -890,6 +890,10 @@ namespace { if (i < MultiPV) { + // Aspiration window is disabled in multi-pv case + if (MultiPV > 1) + alpha = -VALUE_INFINITE; + value = -search_pv(pos, ss, -beta, -alpha, newDepth, 1, 0); // If the value has dropped a lot compared to the last iteration, // set the boolean variable Problem to true. This variable is used