]> git.sesse.net Git - stockfish/commit
Simplify away redundant SEE pruning condition (#1363)
authorFabian Fichter <ianfab@users.noreply.github.com>
Tue, 23 Jan 2018 13:05:48 +0000 (14:05 +0100)
committerMarco Costalba <mcostalba@users.noreply.github.com>
Tue, 23 Jan 2018 13:05:48 +0000 (14:05 +0100)
commitb61759e907e508d436b7c0b7ff8ab866454f7ca6
treebe9ef997816954a14598793c31bc01b97ad0d69a
parentb508f9561cc2302c129efe8d60f201ff03ee72c8
Simplify away redundant SEE pruning condition (#1363)

SEE immediately returns true for promotions,
so excluding them before checking SEE is redundant.

STC
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 56758 W: 10166 L: 10106 D: 36486
http://tests.stockfishchess.org/tests/view/5a645eaf0ebc590297903833

No functional change.
src/search.cpp