X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.cpp;h=0f1e19b9ee4a954f69bb84844e9227110f21709a;hp=abad2abb923e053291bb22e41d21585b8573e47d;hb=04fd7efdfa69c7eff716192238989b6dcdcead00;hpb=ee5514b8fdc6583d134985edd2f875e197830030 diff --git a/src/material.cpp b/src/material.cpp index abad2abb..0f1e19b9 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -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(WHITE) && npm_w - npm_b <= BishopValueMg) { e->factor[WHITE] = (uint8_t)