X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=9ab8c800d8fbde01527d266b6a8fc1d0a9c314b8;hp=f99f63beca57fda3d7e3b4780595e85f4d5c2b09;hb=c89274d8fb25d1c647a13918ccbc568347cb24a4;hpb=f2638816bf991b9f7524015b740dd107d3186efc diff --git a/src/search.cpp b/src/search.cpp index f99f63be..9ab8c800 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -745,7 +745,7 @@ namespace { && ttMove == MOVE_NONE && (PvNode || (!inCheck && ss->staticEval + Value(256) >= beta))) { - Depth d = (PvNode ? depth - 2 * ONE_PLY : depth / 2); + Depth d = (PvNode ? depth - 2 * ONE_PLY : depth - 4 * ONE_PLY); ss->skipNullMove = true; search(pos, ss, alpha, beta, d);