Skip to content

Commit

Permalink
Prune castling moves
Browse files Browse the repository at this point in the history
Align the behaviour with reductions. Initially castling moves had to be
treated differently, because the SEE did not handle them correctly. But now it
does.

STC:
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 83750 W: 15722 L: 15711 D: 52317

LTC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 97183 W: 15120 L: 15115 D: 66948

bench 7759837

Resolves #403
  • Loading branch information
lucasart authored and zamar committed Aug 28, 2015
1 parent bf6bc1b commit 7ad85fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/search.cpp
Expand Up @@ -880,7 +880,6 @@ namespace {
&& !captureOrPromotion
&& !inCheck
&& !givesCheck
&& type_of(move) == NORMAL
&& !pos.advanced_pawn_push(move)
&& bestValue > VALUE_MATED_IN_MAX_PLY)
{
Expand Down

0 comments on commit 7ad85fc

Please sign in to comment.