mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 09:13:08 +00:00
Fix a missing conversion
This conversion to cp was overlooked. closes https://github.com/official-stockfish/Stockfish/pull/4235 No functional change
This commit is contained in:
parent
41c6a74d37
commit
d756d97a66
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ namespace Trace {
|
||||||
|
|
||||||
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) {
|
void add(int idx, Color c, Score s) {
|
||||||
scores[idx][c] = s;
|
scores[idx][c] = s;
|
||||||
|
|
Loading…
Add table
Reference in a new issue