mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 19:16:49 +08:00
Introduce and use SCORE_ZERO
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -185,7 +185,7 @@ Score PawnInfoTable::evaluate_pawns(const Position& pos, Bitboard ourPawns,
|
||||
Rank r;
|
||||
int bonus;
|
||||
bool passed, isolated, doubled, opposed, chain, backward, candidate;
|
||||
Score value = make_score(0, 0);
|
||||
Score value = SCORE_ZERO;
|
||||
const Square* ptr = pos.piece_list_begin(Us, PAWN);
|
||||
|
||||
// Initialize pawn storm scores by giving bonuses for open files
|
||||
|
||||
Reference in New Issue
Block a user