]> git.sesse.net Git - stockfish/blobdiff - src/position.cpp
Introduce and use SCORE_ZERO
[stockfish] / src / position.cpp
index 058fab66b13940b2db943aef8548c46b63d1e936..11684d763124ed1872f7b8746123528321e846c8 100644 (file)
@@ -1658,7 +1658,7 @@ Key Position::compute_material_key() const {
 /// updated by do_move and undo_move when the program is running in debug mode.
 Score Position::compute_value() const {
 
-  Score result = make_score(0, 0);
+  Score result = SCORE_ZERO;
   Bitboard b;
   Square s;