mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08:00
Rescale UCI scores to PawnValueEg
This is more consistent with what other engines are doing. Often people thinks that SF's scores are overblown. In the end, it just boils down to the arbitrary way of rescaling them. No functional change.
This commit is contained in:
committed by
Marco Costalba
parent
64d29a6330
commit
0d8a4c7565
@@ -185,7 +185,7 @@ void Search::think() {
|
||||
RootColor = RootPos.side_to_move();
|
||||
TimeMgr.init(Limits, RootPos.game_ply(), RootColor);
|
||||
|
||||
int cf = Options["Contempt Factor"] * PawnValueMg / 100; // From centipawns
|
||||
int cf = Options["Contempt Factor"] * PawnValueEg / 100; // From centipawns
|
||||
DrawValue[ RootColor] = VALUE_DRAW - Value(cf);
|
||||
DrawValue[~RootColor] = VALUE_DRAW + Value(cf);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user