]> git.sesse.net Git - stockfish/blobdiff - src/material.cpp
Retire redundant endgames
[stockfish] / src / material.cpp
index abad2abb923e053291bb22e41d21585b8573e47d..0f1e19b9ee4a954f69bb84844e9227110f21709a 100644 (file)
@@ -240,7 +240,8 @@ Entry* probe(const Position& pos, Table& entries, Endgames& endgames) {
       }
   }
 
-  // No pawns makes it difficult to win, even with a material advantage
+  // No pawns makes it difficult to win, even with a material advantage. This
+  // catches some trivial draws like KK, KBK and KNK
   if (!pos.count<PAWN>(WHITE) && npm_w - npm_b <= BishopValueMg)
   {
       e->factor[WHITE] = (uint8_t)