projects
/
stockfish
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce enum VALUE_ZERO instead of Value(0)
[stockfish]
/
src
/
evaluate.h
diff --git
a/src/evaluate.h
b/src/evaluate.h
index 754d52f618621131867fcd04ec967fb33412b386..75e1f9150cc77958014207a4f81b21ecd9e1e6b4 100644
(file)
--- a/
src/evaluate.h
+++ b/
src/evaluate.h
@@
-47,7
+47,7
@@
class Position;
struct EvalInfo {
struct EvalInfo {
- EvalInfo() { kingDanger[0] = kingDanger[1] = V
alue(0)
; }
+ EvalInfo() { kingDanger[0] = kingDanger[1] = V
ALUE_ZERO
; }
// Middle game and endgame evaluations
Score value;
// Middle game and endgame evaluations
Score value;