]> git.sesse.net Git - stockfish/commit
Remove pos.capture_or_promotion()
authorGiacomo Lorenzetti <g.lorenz9@protonmail.com>
Wed, 23 Mar 2022 11:04:10 +0000 (12:04 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 25 Mar 2022 19:14:00 +0000 (20:14 +0100)
commit910cf8b21839eb9f1991934a5436eea112021723
tree778b7389f1b8f5738dc3598f19118d3853ba58e1
parente31f97e3baa52042fe60d6f4eeb50fe0d9e61013
Remove pos.capture_or_promotion()

This patch replaces `pos.capture_or_promotion()` with `pos.capture()`
and comes after a few attempts with elo-gaining bounds, two of which
failed yellow at LTC
(https://tests.stockfishchess.org/tests/view/622f8f0cc9e950cbfc237024
and
https://tests.stockfishchess.org/tests/view/62319a8bb3b498ba71a6b2dc).

Passed non-regression STC:
https://tests.stockfishchess.org/tests/view/623aff7eea447151c74828d3
LLR: 2.94 (-2.94,2.94) <-2.25,0.25>
Total: 246864 W: 65462 L: 65618 D: 115784
Ptnml(0-2): 1201, 28116, 65001, 27866, 1248

Passed non-regression LTC:
https://tests.stockfishchess.org/tests/view/623c1fdcea447151c7484fb0
LLR: 2.94 (-2.94,2.94) <-2.25,0.25>
Total: 30120 W: 8125 L: 7978 D: 14017
Ptnml(0-2): 22, 2993, 8881, 3144, 20

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

Bench: 6847732
src/position.h
src/search.cpp