diff --git a/nnue.bin b/nnue.bin index 74d336c..8c3dfe3 100644 Binary files a/nnue.bin and b/nnue.bin differ diff --git a/source/datagen.cpp b/source/datagen.cpp index 3d5b81d..f21d884 100644 --- a/source/datagen.cpp +++ b/source/datagen.cpp @@ -115,7 +115,7 @@ static void PlayGames(int id, std::atomic& positions, std::atomic& st SearchResults safeResults; - int staticEval = UTILS::ConvertToWhiteRelative(board, HCE::Evaluate(board)); + int staticEval = UTILS::ConvertToWhiteRelative(board, NNUE::net.Evaluate(board)); int wdl = 1; while (!IsGameOver(board, ctx)) { diff --git a/source/search.cpp b/source/search.cpp index c810e61..94a2c40 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -150,7 +150,7 @@ static SearchResults Quiescence(Board& board, int alpha, int beta, int ply, Sear } } - int bestScore = HCE::Evaluate(board); + int bestScore = NNUE::net.Evaluate(board); TTEntry *entry = ctx.TT.GetRawEntry(board.hashKey); if (entry->hashKey == board.hashKey) { @@ -234,7 +234,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC if (depth <= 0) return Quiescence(board, alpha, beta, ply, ctx); - const int staticEval = HCE::Evaluate(board); + const int staticEval = NNUE::net.Evaluate(board); if (!board.InCheck()) { if (ply) {