X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fendgame.cpp;h=f9feb00e067b5dd8bd2aa18af4e9ac1f2e28fcbd;hb=c416133e2fd1b6bb74fda07cd6050227bbe8994a;hp=abf27d52b66860eb39be3f6ce4d9137a2fe842ee;hpb=d4876dc96395f5592bfbc25b2eca2360db0655e6;p=stockfish diff --git a/src/endgame.cpp b/src/endgame.cpp index abf27d52..f9feb00e 100644 --- a/src/endgame.cpp +++ b/src/endgame.cpp @@ -367,12 +367,12 @@ Value EvaluationFunction::apply(const Position& pos) const { /// king alone are always draw. template<> Value EvaluationFunction::apply(const Position&) const { - return VALUE_ZERO; + return VALUE_DRAW; } template<> Value EvaluationFunction::apply(const Position&) const { - return VALUE_ZERO; + return VALUE_DRAW; } /// KBPKScalingFunction scales endgames where the stronger side has king,