datagen issues fixed | bench 4317404

This commit is contained in:
rektdie committed 2025-11-01 02:34:59 +01:00
1 parent 2474c13fe0
commit acee84c134
3 files changed
+22 -19

No files matched your search

+2 -2
View File
@@ -186,8 +186,8 @@ int Forward(const Board& board, const Network& net) {
}
int16_t Network::Evaluate(const Board& board) {
return std::clamp(Forward(board, *this), (-SEARCH::MATE_SCORE + SEARCH::MAX_PLY),
(SEARCH::MATE_SCORE - SEARCH::MAX_PLY));
return std::clamp(Forward(board, *this), (-SEARCH::MATE_SCORE + SEARCH::MAX_DEPTH),
(SEARCH::MATE_SCORE - SEARCH::MAX_DEPTH));
}
}