Big Position renaming
[stockfish] / src / endgame.cpp
index 763a402e7bd3a4683b0e49a05b989877b68f9da5..0e70efe1d386fd387018d787be94acce38bc7d25 100644 (file)
@@ -148,7 +148,7 @@ Value Endgame<KXK>::operator()(const Position& pos) const {
 
   if (   pos.piece_count(strongerSide, QUEEN)
       || pos.piece_count(strongerSide, ROOK)
-      || pos.both_color_bishops(strongerSide)) {
+      || pos.bishop_pair(strongerSide)) {
     result += VALUE_KNOWN_WIN;
   }