mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +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:
+1
-1
@@ -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