Assorted cleanup of latest commits

No functional change.

Resolves #601
This commit is contained in:
Marco Costalba
2016-03-13 09:35:03 +01:00
committed by Joona Kiiski
parent a273b6ef8c
commit 647402ff79
6 changed files with 23 additions and 22 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ struct Entry {
}
template<Color Us>
Score king_safety(const Position& pos, Square ksq) {
Score king_safety(const Position& pos, Square ksq) {
return kingSquares[Us] == ksq && castlingRights[Us] == pos.can_castle(Us)
? kingSafety[Us] : (kingSafety[Us] = do_king_safety<Us>(pos, ksq));
}