1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00

Search negative SEE moves in qsearch in PV

After 2704 games on slow single core
mod - orig: 1381 - 1323

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Joona Kiiski 2010-02-12 10:53:03 +02:00 committed by Marco Costalba
parent a093f33154
commit 7c61b8ad2a

View file

@ -1695,6 +1695,7 @@ namespace {
// Don't search moves with negative SEE values // Don't search moves with negative SEE values
if ( (!isCheck || evasionPrunable) if ( (!isCheck || evasionPrunable)
&& !pvNode
&& move != ttMove && move != ttMove
&& !move_is_promotion(move) && !move_is_promotion(move)
&& pos.see_sign(move) < 0) && pos.see_sign(move) < 0)