X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=cf98ca35af3878dbfd5043da2446970236c1157f;hp=4139ef96b707afa81baec5e5d19a7fbf2d7a28c9;hb=aba152ea3a0b97c1df7aab3a909d52349bdf6c76;hpb=7f9ebf8e86e90ea1eb68388f1be12503a3f31e56;ds=sidebyside diff --git a/src/search.cpp b/src/search.cpp index 4139ef96..cf98ca35 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -826,7 +826,8 @@ split_point_start: // At split points actual search starts from here && !inCheck && !dangerous && move != ttMove - && (bestValue > VALUE_MATED_IN_MAX_PLY || bestValue == -VALUE_INFINITE)) + && (bestValue > VALUE_MATED_IN_MAX_PLY || ( bestValue == -VALUE_INFINITE + && alpha > VALUE_MATED_IN_MAX_PLY))) { // Move count based pruning if ( depth < 16 * ONE_PLY