mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 10:57:43 +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:
@@ -1430,7 +1430,6 @@ namespace {
|
|||||||
// Don't search captures and checks with negative SEE values
|
// Don't search captures and checks with negative SEE values
|
||||||
if ( !isCheck
|
if ( !isCheck
|
||||||
&& !move_promotion(move)
|
&& !move_promotion(move)
|
||||||
&& !pvNode
|
|
||||||
&& (pos.midgame_value_of_piece_on(move_from(move)) >
|
&& (pos.midgame_value_of_piece_on(move_from(move)) >
|
||||||
pos.midgame_value_of_piece_on(move_to(move)))
|
pos.midgame_value_of_piece_on(move_to(move)))
|
||||||
&& pos.see(move) < 0)
|
&& pos.see(move) < 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user