Skip to content

Commit

Permalink
Fix typo in previous commit #471
Browse files Browse the repository at this point in the history
  • Loading branch information
ddugovic committed Dec 15, 2017
1 parent e8b16cb commit 3777bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evaluate.cpp
Expand Up @@ -867,7 +867,7 @@ namespace {
{
kingAttackersCount[Us]++;
kingAttackersWeight[Us] += KingAttackWeights[pos.variant()][Pt];
#ifdef TWOKING
#ifdef TWOKINGS
if (pos.is_two_kings() && pos.count<KING>() > 1)
kingAdjacentZoneAttacksCount[Us] += popcount(b & pos.attacks_from<KING>(pos.square<KING>(Them)));
else
Expand Down

0 comments on commit 3777bce

Please sign in to comment.