]> git.sesse.net Git - stockfish/commit
Track seldepth in qsearch too
authorperegrineshahin <peregrineshahin@gmail.com>
Sun, 3 Dec 2023 21:39:41 +0000 (00:39 +0300)
committerDisservin <disservin.social@gmail.com>
Thu, 14 Dec 2023 17:36:45 +0000 (18:36 +0100)
commit7885fa5bd3c8aae1e992ec80cbaaab1177502426
tree9b473795f3609d0dc4cff93fc8f12b19e03003d5
parent282e15bf75bd1142de96306b22424f0cd2bb8dfa
Track seldepth in qsearch too

Sometimes if we count the reported PV length, it turns out to be longer than the
selective depth reported. This fixes this behavior by applying the selective
depth to qsearch since we do report PVs from it as well.

Passed non-regression STC:
https://tests.stockfishchess.org/tests/view/656cf5b66980e15f69c7499d
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 223648 W: 56372 L: 56356 D: 110920
Ptnml(0-2): 710, 25580, 59231, 25590, 713

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

No functional change
src/search.cpp