Update a comment in the evaluate.cpp file to reflect recent change

No functional change
This commit is contained in:
Nikolay Kostov
2018-11-12 22:15:17 +02:00
committed by Stéphane Nicolet
parent 8a9c298dee
commit 4350a66ffa

View File

@@ -415,7 +415,7 @@ namespace {
Score score = pe->king_safety<Us>(pos); Score score = pe->king_safety<Us>(pos);
// Find the squares that opponent attacks in our king flank, and the squares // Find the squares that opponent attacks in our king flank, and the squares
// which are attacked twice in that flank but not defended by our pawns. // which are attacked twice in that flank.
kingFlank = KingFlank[file_of(ksq)]; kingFlank = KingFlank[file_of(ksq)];
b1 = attackedBy[Them][ALL_PIECES] & kingFlank & Camp; b1 = attackedBy[Them][ALL_PIECES] & kingFlank & Camp;
b2 = b1 & attackedBy2[Them]; b2 = b1 & attackedBy2[Them];