X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=8ef2513dd1a895c0fdda2ed28af7c5587f06de51;hp=7a06dad93f94035b046c9384938ce6d8d0b983b1;hb=81e9cf043a7e8ac1aeb579e6ad17c695f7fb3d47;hpb=077e32efc9fdd30d561356b2fd331d6f42f9a256 diff --git a/src/search.cpp b/src/search.cpp index 7a06dad9..8ef2513d 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);