mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-06 10:53:50 +08:00
Introduce and use SCORE_ZERO
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user