X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=17c52e180019230d810be047d1ec971418c50844;hp=725ea49ce05ba1d6981ca15f460afae8535169c0;hb=3acacf8471efd018e33e4743cbbb2aed8d59e855;hpb=3300517ecb75df265489d2a9841e4fce2414fd09 diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 725ea49c..17c52e18 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -743,12 +743,12 @@ namespace { && (pos.pieces(PAWN) & KingSide); // Compute the initiative bonus for the attacking side - int complexity = 8 * pe->pawn_asymmetry() - + 12 * pos.count() - + 12 * outflanking - + 16 * pawnsOnBothFlanks - + 48 * !pos.non_pawn_material() - -118 ; + int complexity = 9 * pe->pawn_asymmetry() + + 11 * pos.count() + + 9 * outflanking + + 18 * pawnsOnBothFlanks + + 49 * !pos.non_pawn_material() + -121 ; // Now apply the bonus: note that we find the attacking side by extracting // the sign of the endgame value, and that we carefully cap the bonus so