]> git.sesse.net Git - stockfish/commit
Remove redundant condition from capture_stage()
authormstembera <MissingEmail@email>
Sat, 11 Mar 2023 19:51:08 +0000 (11:51 -0800)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Tue, 14 Mar 2023 07:29:19 +0000 (08:29 +0100)
commit7077fbdd1481829a0a20b6975c4245609118b938
tree7764c5b04b3a6a153e3f8c610a8c4ea5d33d2f0a
parentd1e17989b51f220629e4e81a4bf413974f4b18e2
Remove redundant condition from capture_stage()

Change a non functional promotion check to an assert.

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

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