X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=24f0d9946f7ec598604ba8b60eb937437523847f;hb=871ab55f01f844bd24ed768c5e734ed2c956ef78;hp=9cef7e5f558225f5d6be62329f5ac47c2fe9c34a;hpb=0024133b08777b578c1036eb1e4a36343b7fa1bb;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 9cef7e5f..24f0d994 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -775,7 +775,7 @@ Value search(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth, boo - (ss - 1)->statScore / 321 >= beta && eval >= beta && eval < 29462 // smaller than TB wins - && !(!ttCapture && ttMove)) + && (!ttMove || ttCapture)) return eval; // Step 9. Null move search with verification search (~35 Elo)