mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Introduce enum VALUE_ZERO instead of Value(0)
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -47,7 +47,7 @@ class Position;
|
||||
|
||||
struct EvalInfo {
|
||||
|
||||
EvalInfo() { kingDanger[0] = kingDanger[1] = Value(0); }
|
||||
EvalInfo() { kingDanger[0] = kingDanger[1] = VALUE_ZERO; }
|
||||
|
||||
// Middle game and endgame evaluations
|
||||
Score value;
|
||||
|
||||
Reference in New Issue
Block a user