mirror of
https://github.com/sockspls/badfish
synced 2025-05-02 17:49:35 +00: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:
parent
a492a9dd07
commit
1a1742ac4f
1 changed files with 1 additions and 1 deletions
|
@ -467,7 +467,7 @@ namespace {
|
||||||
if (SkillLevelEnabled && depth == 1 + SkillLevel)
|
if (SkillLevelEnabled && depth == 1 + SkillLevel)
|
||||||
skillBest = do_skill_level();
|
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]);
|
pv_info_to_log(pos, depth, bestValue, elapsed_time(), &RootMoves[0].pv[0]);
|
||||||
|
|
||||||
// Filter out startup noise when monitoring best move stability
|
// Filter out startup noise when monitoring best move stability
|
||||||
|
|
Loading…
Add table
Reference in a new issue