Give a small penalty for bishop for each pawn on the same colored square
[stockfish] / src / material.cpp
index 9cc8eea..3474ccd 100644 (file)
@@ -39,7 +39,7 @@ namespace {
   const Value RedundantRookPenalty  = Value(554);
 
   //                                  pair  pawn knight bishop rook queen
-  const int LinearCoefficients[6] = { 1617, -162, -1172, -190,  105,  26 };
+  const int LinearCoefficients[6] = { 1617, -162, -1172,  -62,  105,  26 };
 
   const int QuadraticCoefficientsSameColor[][PIECE_TYPE_NB] = {
     // pair pawn knight bishop rook queen