projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
00563be
)
Small coding style fix for Outpost array
author
joergoster
<osterj165@googlemail.com>
Wed, 17 Jun 2015 14:02:02 +0000 (15:02 +0100)
committer
Joona Kiiski
<joona.kiiski@gmail.com>
Wed, 17 Jun 2015 14:02:57 +0000 (15:02 +0100)
No functional change
Resolves #367
src/evaluate.cpp
patch
|
blob
|
history
diff --git
a/src/evaluate.cpp
b/src/evaluate.cpp
index
f2c5cf7
..
2f9cec5
100644
(file)
--- a/
src/evaluate.cpp
+++ b/
src/evaluate.cpp
@@
-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.