]> git.sesse.net Git - stockfish/commit
Reorder some lines
authorperegrineshahin <peregrineshahin@gmail.com>
Thu, 14 Sep 2023 11:15:43 +0000 (14:15 +0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 22 Sep 2023 17:02:18 +0000 (19:02 +0200)
commit0e32287af470dee230a30d9f513682c3ce798668
tree9579393d7c7003da06eda0388f1bb03eddfdb194
parent3f7fb5ac1d58e1c90db063053e9f913b9df79994
Reorder some lines

Now that qsearch has its own repetition detection we can flip the order of lines and remove the guard of depth < 0 which is not needed after reordering (i.e. it was there to prevent checking repetition again at depth ==0).

Passed STC:
https://tests.stockfishchess.org/tests/view/6502ecbb2cd016da89abc3fb
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 69536 W: 17668 L: 17490 D: 34378
Ptnml(0-2): 190, 7652, 18929, 7784, 213

Passed LTC:
https://tests.stockfishchess.org/tests/view/6505ce9072620bc881ea9086
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 52116 W: 13294 L: 13113 D: 25709
Ptnml(0-2): 26, 5176, 15471, 5361, 24

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

No functional change
src/search.cpp