mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00: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:
+1
-1
@@ -1686,7 +1686,7 @@ Score Position::compute_value() const {
|
||||
|
||||
Value Position::compute_non_pawn_material(Color c) const {
|
||||
|
||||
Value result = Value(0);
|
||||
Value result = VALUE_ZERO;
|
||||
|
||||
for (PieceType pt = KNIGHT; pt <= QUEEN; pt++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user