]> git.sesse.net Git - stockfish/commitdiff
Small coding style fix for Outpost array
authorjoergoster <osterj165@googlemail.com>
Wed, 17 Jun 2015 14:02:02 +0000 (15:02 +0100)
committerJoona Kiiski <joona.kiiski@gmail.com>
Wed, 17 Jun 2015 14:02:57 +0000 (15:02 +0100)
No functional change

Resolves #367

src/evaluate.cpp

index f2c5cf7f7488cf1b5cca75cca41bbe4bbdb894d1..2f9cec5cb2891ef48f043c79ff0ed4886f6a387c 100644 (file)
@@ -125,7 +125,10 @@ namespace {
   };
 
   // Outpost[knight/bishop][supported by pawn]
-  const Score Outpost[2][2] = {{S(28,7), S(42,11)}, {S(12,3), S(18,5)}};
+  const Score Outpost[][2] = {
+    { S(28, 7), S(42,11) }, // Knights
+    { S(12, 3), S(18, 5) }  // Bishops
+  };
 
   // Threat[defended/weak][minor/major attacking][attacked PieceType] contains
   // bonuses according to which piece type attacks which one.