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