From: Stéphane Nicolet Date: Sat, 28 Feb 2015 16:58:32 +0000 (+0800) Subject: Raise penalty for knight attacked by pawn X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=9369f4963d9376820cb5ca4bad66b86e67b0a010 Raise penalty for knight attacked by pawn Raise a bit the penalty for knight attacked by pawn. STC: LLR: 2.97 (-2.94,2.94) [-1.50,4.50] Total: 27744 W: 5563 L: 5380 D: 16801 LTC: LLR: 2.96 (-2.94,2.94) [0.00,4.00] Total: 87571 W: 14747 L: 14314 D: 58510 Bench: 8285241 Resolves #270 --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 77096c9b..c880b7c7 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -148,7 +148,7 @@ namespace { // ThreatenedByPawn[PieceType] contains a penalty according to which piece // type is attacked by an enemy pawn. const Score ThreatenedByPawn[] = { - S(0, 0), S(0, 0), S(87, 118), S(84, 122), S(114, 203), S(121, 217) + S(0, 0), S(0, 0), S(107, 138), S(84, 122), S(114, 203), S(121, 217) }; // Assorted bonuses and penalties used by evaluation