X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=2e7dd6989736fa786c2a0b5ada5d681d35cb7136;hp=dbfb94696ac3d60f92f2a0c22fcc52deb8b4f819;hb=badb2aca44d6507f35dafc8b5c3921a6649a40f8;hpb=22ef36803ed0f1597d8f40731c6e2d3aa01debf2 diff --git a/src/search.cpp b/src/search.cpp index dbfb9469..2e7dd698 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -830,7 +830,7 @@ namespace { int probCutCount = 0; while ( (move = mp.next_move()) != MOVE_NONE - && probCutCount < 3) + && probCutCount < 2 + 2 * cutNode) if (move != excludedMove && pos.legal(move)) { probCutCount++;