Introduce and use SCORE_ZERO

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-08-19 16:36:18 +01:00
parent 4419924fcf
commit 5bed82cd4e
4 changed files with 6 additions and 5 deletions

View 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;