Fix indentation in struct FromToStats

And other little trivial stuff.

No functional change.
This commit is contained in:
Marco Costalba
2016-09-17 08:19:06 +02:00
parent 01f2466f6e
commit 057d710fc2
10 changed files with 49 additions and 54 deletions

View File

@@ -419,11 +419,11 @@ namespace {
// attacked and undefended squares around our king and the quality of
// the pawn shelter (current 'score' value).
kingDanger = std::min(807, ei.kingAttackersCount[Them] * ei.kingAttackersWeight[Them])
+ 101 * ei.kingAdjacentZoneAttacksCount[Them]
+ 235 * popcount(undefended)
+ 134 * (popcount(b) + !!ei.pinnedPieces[Us])
- 717 * !pos.count<QUEEN>(Them)
- 7 * mg_value(score) / 5 - 5;
+ 101 * ei.kingAdjacentZoneAttacksCount[Them]
+ 235 * popcount(undefended)
+ 134 * (popcount(b) + !!ei.pinnedPieces[Us])
- 717 * !pos.count<QUEEN>(Them)
- 7 * mg_value(score) / 5 - 5;
// Analyse the enemy's safe queen contact checks. Firstly, find the
// undefended squares around the king reachable by the enemy queen...