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:
parent
a093f33154
commit
7c61b8ad2a
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue