X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=572a8ac8b2e0b1fda34c6d1867d7069d9653a1ae;hb=df31398bb91b0e43661176e2f1681617ee64f1ad;hp=1131fae7e01cfe329d2769e615b0bbb879cf2b84;hpb=a492a9dd079d95faf136a744ff6d47a3d109ad68;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 1131fae7..572a8ac8 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -467,7 +467,7 @@ namespace { if (SkillLevelEnabled && depth == 1 + SkillLevel) skillBest = do_skill_level(); - if (Options["Use Search Log"]) + if (!Signals.stop && Options["Use Search Log"]) pv_info_to_log(pos, depth, bestValue, elapsed_time(), &RootMoves[0].pv[0]); // Filter out startup noise when monitoring best move stability @@ -1282,12 +1282,7 @@ split_point_start: // At split points actual search starts from here && !pos.is_capture_or_promotion(move) && ss->eval + PawnValueMidgame / 4 < beta && !check_is_dangerous(pos, move, futilityBase, beta, &bestValue)) - { - if (ss->eval + PawnValueMidgame / 4 > bestValue) - bestValue = ss->eval + PawnValueMidgame / 4; - continue; - } // Check for legality only before to do the move if (!pos.pl_move_is_legal(move, ci.pinned))