X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=27669d9d9bb899f6badeba3293f1cf765eb7a092;hp=86f6fff0c694f86679c429d30f16f562a5def0f4;hb=6560e4cc5b3da33c16a2a3290bbb3697f6c69b00;hpb=08d615cc9500713d89bd20dd0963258932abf627 diff --git a/src/search.cpp b/src/search.cpp index 86f6fff0..27669d9d 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -400,6 +400,7 @@ namespace { // Sort the PV lines searched so far and update the GUI sort(RootMoves.begin(), RootMoves.begin() + PVIdx + 1); + if (PVIdx + 1 == PVSize || Time::now() - SearchTime > 3000) sync_cout << uci_pv(pos, depth, alpha, beta) << sync_endl; } @@ -922,8 +923,9 @@ split_point_start: // At split points actual search starts from here && !pvMove && !captureOrPromotion && !dangerous - && ss->killers[0] != move - && ss->killers[1] != move) + && move != ttMove + && move != ss->killers[0] + && move != ss->killers[1]) { ss->reduction = reduction(depth, moveCount); Depth d = std::max(newDepth - ss->reduction, ONE_PLY);