Permalink
Browse files

remove comments

  • Loading branch information...
Stefan Geschwentner
Stefan Geschwentner committed Dec 5, 2017
1 parent ef43b5c commit 5220c15d93e0d2f9e7231e7af6277dfa59d35582
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/evaluate.cpp
View
@@ -459,8 +459,8 @@ namespace {
safe = ~pos.pieces(Them);
safe &= ~attackedBy[Us][ALL_PIECES] | (weak & attackedBy2[Them]);
b1 = attacks_bb<ROOK >(ksq, pos.pieces() ^ pos.pieces(Us, QUEEN)); // pos.attacks_from< ROOK>(ksq);
b2 = attacks_bb<BISHOP>(ksq, pos.pieces() ^ pos.pieces(Us, QUEEN)); // pos.attacks_from<BISHOP>(ksq);
b1 = attacks_bb<ROOK >(ksq, pos.pieces() ^ pos.pieces(Us, QUEEN));
b2 = attacks_bb<BISHOP>(ksq, pos.pieces() ^ pos.pieces(Us, QUEEN));
// Enemy queen safe checks
if ((b1 | b2) & attackedBy[Them][QUEEN] & safe & ~attackedBy[Us][QUEEN])

0 comments on commit 5220c15

Please sign in to comment.