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 c0652650f8 - Show all commits
+2 -2
View File
@@ -156,7 +156,7 @@ static SearchResults Quiescence(Board board, int alpha, int beta, int ply) {
} }
} }
int bestScore = NNUE::net.Evaluate(board); int bestScore = HCE::Evaluate(board);
TTEntry *entry = TT.GetRawEntry(board.hashKey); TTEntry *entry = TT.GetRawEntry(board.hashKey);
if (entry->hashKey == 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); if (depth <= 0) return Quiescence<mode>(board, alpha, beta, ply);
const int staticEval = NNUE::net.Evaluate(board); const int staticEval = HCE::Evaluate(board);
if (!board.InCheck()) { if (!board.InCheck()) {
if (ply) { if (ply) {