mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Reset DrawValue[] before new search
Spotted by Ronald de Man bench: 7384368
This commit is contained in:
parent
ef43e6b05d
commit
56273fca1e
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ void Search::think() {
|
|||
RootColor = RootPos.side_to_move();
|
||||
TimeMgr.init(Limits, RootPos.game_ply(), RootColor);
|
||||
|
||||
DrawValue[0] = DrawValue[1] = VALUE_DRAW;
|
||||
Contempt[0] = Options["Contempt Factor"] * PawnValueEg / 100; // From centipawns
|
||||
Contempt[1] = (Options["Contempt Factor"] + 12) * PawnValueEg / 100;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue