Code style in evaluate.cpp

Passed STC
LLR: 2.95 (-2.94,2.94) [-4.00,0.00]
Total: 75666 W: 16482 L: 16616 D: 42568
http://tests.stockfishchess.org/tests/view/5a8953af0ebc590297cc83ab

No functional change.
This commit is contained in:
Marco Costalba
2018-02-20 17:10:37 +01:00
committed by Stéphane Nicolet
parent b2b0013d11
commit 67f5f54a29
4 changed files with 306 additions and 325 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ namespace Pawns {
struct Entry {
Score pawns_score() const { return score; }
Score pawn_score(Color c) const { return scores[c]; }
Bitboard pawn_attacks(Color c) const { return pawnAttacks[c]; }
Bitboard passed_pawns(Color c) const { return passedPawns[c]; }
Bitboard pawn_attacks_span(Color c) const { return pawnAttacksSpan[c]; }
@@ -62,7 +62,7 @@ struct Entry {
Value shelter_storm(const Position& pos, Square ksq);
Key key;
Score score;
Score scores[COLOR_NB];
Bitboard passedPawns[COLOR_NB];
Bitboard pawnAttacks[COLOR_NB];
Bitboard pawnAttacksSpan[COLOR_NB];