X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=de6c2542d27805a25069290134107ba91583b282;hp=bfab6a4e1cd2829408f1e0d849f3962ab9fd77db;hb=c0964fc70fb2f69dced30d1970650824c3ee4eeb;hpb=d54e8a59551a7ebcbf2c2155dce46c7386b1742a diff --git a/src/search.cpp b/src/search.cpp index bfab6a4e..de6c2542 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -726,7 +726,6 @@ namespace { && depth >= 5 * ONE_PLY && !inCheck && !ss->skipNullMove - && excludedMove == MOVE_NONE && abs(beta) < VALUE_MATE_IN_MAX_PLY) { Value rbeta = beta + 200; @@ -949,7 +948,7 @@ split_point_start: // At split points actual search starts from here { ss->reduction = reduction(depth, moveCount); - if (!PvNode && cutNode && (ss-1)->reduction) + if (!PvNode && cutNode) ss->reduction += ONE_PLY; if (move == countermoves[0] || move == countermoves[1])