]> git.sesse.net Git - stockfish/commit
Fix no previous moves on root.
authorperegrineshahin <peregrineshahin@gmail.com>
Sun, 4 Jun 2023 21:59:31 +0000 (00:59 +0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Tue, 6 Jun 2023 19:07:43 +0000 (21:07 +0200)
commitb60738e01b5393e6f85bc10d2f257dd0cd26a2f9
tree8d6a9335d2d1b071d0adb087aaa9f2ee2b8564fb
parent8dea070538dcad790de3c5b9720bdbb836a32440
Fix no previous moves on root.

guards against no previous move existing if qSearch is called on the root node (i.e. when razoring).

Passed Non-regression STC:
https://tests.stockfishchess.org/tests/view/647d242d726f6b400e408143
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 53120 W: 14167 L: 13976 D: 24977
Ptnml(0-2): 109, 5597, 14981, 5740, 133

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

Bench: 2551691
src/search.cpp