mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Revert dynamic draw value
When tested with weaker engines did not performed as expected, actually it was even a regression from standard version. bench: 8430785
This commit is contained in:
parent
708cb311a0
commit
bbd69c0260
1 changed files with 1 additions and 2 deletions
|
@ -185,8 +185,7 @@ void Search::think() {
|
|||
RootColor = RootPos.side_to_move();
|
||||
TimeMgr.init(Limits, RootPos.game_ply(), RootColor);
|
||||
|
||||
// Dynamic draw value: try to avoid repetition draws at early midgame
|
||||
int cf = std::max(70 - RootPos.game_ply(), 0);
|
||||
int cf = Options["Contempt Factor"] * PawnValueMg / 100; // From centipawns
|
||||
DrawValue[ RootColor] = VALUE_DRAW - Value(cf);
|
||||
DrawValue[~RootColor] = VALUE_DRAW + Value(cf);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue