X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=e7af307303ae3fd447e5b46c553d235ef00552ce;hp=47d5eb3e9bc93760432f369c04195afff4f20ac3;hb=df4b106716f0fb0a5f5887b1cffeb544174008f7;hpb=94b9c65e09b5d396bebb29b62d9979139b5fbdfa diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 47d5eb3e..e7af3073 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -634,7 +634,7 @@ namespace { const Color Them = (Us == WHITE ? BLACK : WHITE); Bitboard b; - Score bonus = make_score(0, 0); + Score bonus = SCORE_ZERO; // Enemy pieces not defended by a pawn and under our attack Bitboard weakEnemies = pos.pieces_of_color(Them)