]> git.sesse.net Git - stockfish/blobdiff - src/material.cpp
Give a small penalty for bishop for each pawn on the same colored square
[stockfish] / src / material.cpp
index 9cc8eeadc470b7e2f20a9f91a9c5ee8a4c1f9568..3474ccd576c5e613c7fd3373b0e71edf6fd1ca1c 100644 (file)
@@ -39,7 +39,7 @@ namespace {
   const Value RedundantRookPenalty  = Value(554);
 
   //                                  pair  pawn knight bishop rook queen
   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
 
   const int QuadraticCoefficientsSameColor[][PIECE_TYPE_NB] = {
     // pair pawn knight bishop rook queen