mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Rename "Contempt Factor" to "Contempt"
Suggested by Ronald and Lucas on talkchess. No functional change. Conflicts: src/ucioption.cpp
This commit is contained in:
committed by
Joona Kiiski
parent
ff480bdb83
commit
aa10d0aaa6
@@ -187,7 +187,7 @@ void Search::think() {
|
||||
|
||||
TimeMgr.init(Limits, RootPos.game_ply(), RootPos.side_to_move());
|
||||
|
||||
int cf = Options["Contempt Factor"] * PawnValueEg / 100; // From centipawns
|
||||
int cf = Options["Contempt"] * PawnValueEg / 100; // From centipawns
|
||||
DrawValue[ RootPos.side_to_move()] = VALUE_DRAW - Value(cf);
|
||||
DrawValue[~RootPos.side_to_move()] = VALUE_DRAW + Value(cf);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user