]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.cpp
Increase outflanking weight to 12
[stockfish] / src / evaluate.cpp
index 26fd20bba5d577e6d5022c62adfdc0cb1691f57e..3f18d587ac6a61ee2ba2f1a071532551d660cc44 100644 (file)
@@ -770,9 +770,9 @@ namespace {
                             && (pos.pieces(PAWN) & KingSide);
 
     // Compute the initiative bonus for the attacking side
-    int complexity =   8 * outflanking
-                    +  8 * pe->pawn_asymmetry()
+    int complexity =   8 * pe->pawn_asymmetry()
                     + 12 * pos.count<PAWN>()
+                    + 12 * outflanking
                     + 16 * pawnsOnBothFlanks
                     + 48 * !pos.non_pawn_material()
                     -136 ;