summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
41c6a74)
This conversion to cp was overlooked.
closes https://github.com/official-stockfish/Stockfish/pull/4235
No functional change
Score scores[TERM_NB][COLOR_NB];
Score scores[TERM_NB][COLOR_NB];
- double to_cp(Value v) { return double(v) / PawnValueEg; }
+ double to_cp(Value v) { return double(v) / UCI::NormalizeToPawnValue; }
void add(int idx, Color c, Score s) {
scores[idx][c] = s;
void add(int idx, Color c, Score s) {
scores[idx][c] = s;