changed wdl condition | bench 1422551
This commit is contained in:
1 parent
62359f7907
commit
658d72480d
1 file changed
+2
-2
+2
-2
@@ -134,8 +134,8 @@ static void PlayGames(int id, std::atomic<int>& positions, std::atomic<bool>& st
|
||||
MOVEGEN::GenerateMoves<All>(board);
|
||||
}
|
||||
|
||||
if (std::abs(safeResults.score) >= std::abs(SEARCH::MATE_SCORE) - SEARCH::MAX_PLY) {
|
||||
wdl = board.sideToMove ? 2 : 0;
|
||||
if (!SEARCH::IsDraw(board, ctx)) {
|
||||
wdl = board.sideToMove ? 2 : 0;
|
||||
}
|
||||
|
||||
game.format.packFrom(startpos, staticEval, wdl);
|
||||
|
||||
Reference in new issue
Block a user