]> git.sesse.net Git - stockfish/commitdiff
Fix lower/upper bounds output
authordisservin <disservin.social@gmail.com>
Fri, 9 Dec 2022 20:48:03 +0000 (21:48 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 9 Dec 2022 21:58:49 +0000 (22:58 +0100)
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

index ec7cff5413e8ae2935f3b3a2775b0e5e3114fb5d..b2a5b9401bef1dc6b92786eca7b615cdc00810bd 100644 (file)
@@ -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;