Nnue test #48

Merged
rektdie merged 14 commits from nnue_test into main 2025-04-09 03:23:41 +02:00
Showing only changes of commit 0df4b40efb - Show all commits
+2 -2
View File
@@ -156,7 +156,7 @@ static SearchResults Quiescence(Board board, int alpha, int beta, int ply) {
}
}
int bestScore = UTILS::ConvertToWhiteRelative(board, NNUE::net.Evaluate(board));
int bestScore = NNUE::net.Evaluate(board);
TTEntry *entry = TT.GetRawEntry(board.hashKey);
if (entry->hashKey == board.hashKey) {
@@ -239,7 +239,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) {
if (depth <= 0) return Quiescence<mode>(board, alpha, beta, ply);
const int staticEval = UTILS::ConvertToWhiteRelative(board, NNUE::net.Evaluate(board));
const int staticEval = NNUE::net.Evaluate(board);
if (!board.InCheck()) {
if (ply) {