From 8f817ef0824e4d940128f5701573f74819f50da5 Mon Sep 17 00:00:00 2001 From: disservin Date: Fri, 9 Dec 2022 21:48:03 +0100 Subject: [PATCH] Fix lower/upper bounds output Commit cb0c7a98485fbef4e5d6ed5f5b08201113ce0b4e doesnt reset the lower/upper bounds back to false. fixes #4273 closes https://github.com/official-stockfish/Stockfish/pull/4274 No functional change --- src/search.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/search.cpp b/src/search.cpp index ec7cff54..b2a5b940 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1250,6 +1250,8 @@ moves_loop: // When in check, search starts here { rm.score = rm.uciScore = value; rm.selDepth = thisThread->selDepth; + rm.scoreLowerbound = rm.scoreUpperbound = false; + if (value >= beta) { rm.scoreLowerbound = true; rm.uciScore = beta; -- 2.39.2