]> git.sesse.net Git - stockfish/commit - src/search.cpp
Correctly output lowerbound/upperbound scores
authorGuenther Demetz <guenther.demetz@wuerth-phoenix.com>
Tue, 6 Dec 2022 18:09:33 +0000 (19:09 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Thu, 8 Dec 2022 19:43:21 +0000 (20:43 +0100)
commitcb0c7a98485fbef4e5d6ed5f5b08201113ce0b4e
tree35eb0969dab7675fa5933b02df94ee592717ca27
parent98965c139df1483a3d684ee8bc7a60dc4b95efa1
Correctly output lowerbound/upperbound scores

fixes the lowerbound/upperbound output by avoiding
scores outside the alpha,beta bracket. Since SF search
uses fail-soft we can't simply take the returned value
as score.

closes https://github.com/official-stockfish/Stockfish/pull/4259

No functional change
src/search.cpp
src/search.h