From e0d91f4c44c10c1f46ef95234ce15e9123866fe1 Mon Sep 17 00:00:00 2001 From: torfranz Date: Fri, 10 Feb 2017 16:52:34 -0800 Subject: [PATCH] Retire small bonus in passed pawn evaluation STC: http://tests.stockfishchess.org/tests/view/5899824d0ebc59099759f3ee LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 33370 W: 6061 L: 5961 D: 21348 LTC: http://tests.stockfishchess.org/tests/view/5899e3820ebc59099759f415 LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 36206 W: 4664 L: 4563 D: 26979 Bench: 6072262 Closes #998 --- src/evaluate.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 2c5f1303..554d9ae3 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -667,10 +667,6 @@ namespace { mbonus += rr + r * 2, ebonus += rr + r * 2; } // rr != 0 - // Assign a small bonus when the opponent has no pieces left - if (!pos.non_pawn_material(Them)) - ebonus += 20; - // Scale down bonus for candidate passers which need more than one pawn // push to become passed. if (!pos.pawn_passed(Us, s + pawn_push(Us))) -- 2.39.2