mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08: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:
@@ -159,7 +159,7 @@ namespace Trace {
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user