printing in ID and storing scores in datagen in white relative format | bench 1857933

This commit is contained in:
rektdie committed 2025-04-03 03:53:22 +02:00
1 parent 5619ced265
commit 61a68e5bcf
4 files changed
+10 -3

No files matched your search

+5
View File
@@ -181,4 +181,9 @@ std::array<uint8_t, 16> CompressPieces(Board board) {
return compressed;
}
int ConvertToWhiteRelative(Board &board, int score) {
return board.sideToMove == White ? score : -score;
}
}