Skip to content

Commit

Permalink
Pure opposite bishops endgames are drawn after a little shuffling
Browse files Browse the repository at this point in the history
  • Loading branch information
snicolet committed Apr 16, 2018
1 parent ae0bb6d commit 70f946e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evaluate.cpp
Expand Up @@ -807,7 +807,7 @@ namespace {
// Endgame with opposite-colored bishops and no other pieces is almost a draw
if ( pos.non_pawn_material(WHITE) == BishopValueMg
&& pos.non_pawn_material(BLACK) == BishopValueMg)
sf = 31;
sf = pos.rule50_count() > 10 ? 0 : 31;

// Endgame with opposite-colored bishops, but also other pieces. Still
// a bit drawish, but not as drawish as with only the two bishops.
Expand Down

0 comments on commit 70f946e

Please sign in to comment.