X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fendgame.cpp;h=f9feb00e067b5dd8bd2aa18af4e9ac1f2e28fcbd;hp=abf27d52b66860eb39be3f6ce4d9137a2fe842ee;hb=2feeb206ff3dfa2a8419c4541383afd7eee2e5ed;hpb=5dfbbb79beb198234a1dc42964e7e5936621813d;ds=sidebyside 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,