]> git.sesse.net Git - stockfish/blobdiff - src/endgame.cpp
Use VALUE_DRAW instead of VALUE_ZERO where better
[stockfish] / src / endgame.cpp
index abf27d52b66860eb39be3f6ce4d9137a2fe842ee..f9feb00e067b5dd8bd2aa18af4e9ac1f2e28fcbd 100644 (file)
@@ -367,12 +367,12 @@ Value EvaluationFunction<KBBKN>::apply(const Position& pos) const {
 /// king alone are always draw.
 template<>
 Value EvaluationFunction<KmmKm>::apply(const Position&) const {
-  return VALUE_ZERO;
+  return VALUE_DRAW;
 }
 
 template<>
 Value EvaluationFunction<KNNK>::apply(const Position&) const {
-  return VALUE_ZERO;
+  return VALUE_DRAW;
 }
 
 /// KBPKScalingFunction scales endgames where the stronger side has king,