mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
qsearch: restore pruning of pv nodes with negative SEE
Signed-off-by: Marco Costalba <mcostalba@gmail.com> Signed-off-by: unknown <Marco@.(none)>
This commit is contained in:
parent
da7d872eda
commit
1d525bb45f
1 changed files with 0 additions and 1 deletions
|
@ -1430,7 +1430,6 @@ namespace {
|
|||
// Don't search captures and checks with negative SEE values
|
||||
if ( !isCheck
|
||||
&& !move_promotion(move)
|
||||
&& !pvNode
|
||||
&& (pos.midgame_value_of_piece_on(move_from(move)) >
|
||||
pos.midgame_value_of_piece_on(move_to(move)))
|
||||
&& pos.see(move) < 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue