not converting eval in search | bench 3024652

This commit is contained in:
rektdie committed 2025-04-09 00:05:49 +02:00
1 parent f9ae330519
commit 0df4b40efb
1 file changed
+2 -2
+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) {