Use int instead of Value for history related stats.

history related scores are not related to evaluation based scores.
For example, can easily exceed the range -VALUE_INFINITE,VALUE_INFINITE.
As such the current type is confusing, and a plain int is a better match.

tested for no regression:

STC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 43693 W: 7909 L: 7827 D: 27957

No functional change.

Closes #1070
This commit is contained in:
Joost VandeVondele
2017-04-23 07:57:48 -07:00
committed by Joona Kiiski
parent ced29248c9
commit 9da3b44ddc
5 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ struct Stack {
Move excludedMove;
Move killers[2];
Value staticEval;
Value history;
int history;
int moveCount;
};