1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-06-27 16:09:52 +00:00

Fix lower/upper bounds output

Commit cb0c7a9848 doesnt reset the lower/upper bounds back to false.

fixes #4273
closes https://github.com/official-stockfish/Stockfish/pull/4274

No functional change
This commit is contained in:
disservin 2022-12-09 21:48:03 +01:00 committed by Joost VandeVondele
parent 3a30b478d2
commit 8f817ef082

View 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;