Browse files

Disable unstoppable pawns detection

bench: 5092202
  • Loading branch information...
1 parent 87436e5 commit 23440f4f0f5fe5964987f6ad21f53320fe31dead @mcostalba committed Apr 17, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/evaluate.cpp
View
4 src/evaluate.cpp
@@ -411,8 +411,8 @@ Value do_evaluate(const Position& pos, Value& margin) {
- evaluate_passed_pawns<BLACK>(pos, ei);
// If one side has only a king, check whether exists any unstoppable passed pawn
- if (!pos.non_pawn_material(WHITE) || !pos.non_pawn_material(BLACK))
- score += evaluate_unstoppable_pawns(pos, ei);
+// if (!pos.non_pawn_material(WHITE) || !pos.non_pawn_material(BLACK))
+// score += evaluate_unstoppable_pawns(pos, ei);
// Evaluate space for both sides, only in middle-game.
if (ei.mi->space_weight())

0 comments on commit 23440f4

Please sign in to comment.