From 0df4b40efb4324f821db192304206444fdfd3504 Mon Sep 17 00:00:00 2001 From: rektdie Date: Wed, 9 Apr 2025 00:05:49 +0200 Subject: [PATCH] not converting eval in search | bench 3024652 --- source/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/search.cpp b/source/search.cpp index d2c5e60..6db7357 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -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(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) {