mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Don't log search info after a stop
Fix an issue where the log file stores an incorrect +0.00 eval after a search has been stopped. Bug reported by Ajedrecista. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user