Net1 #56
No files matched your search
+1
-1
@@ -115,7 +115,7 @@ static void PlayGames(int id, std::atomic<int>& positions, std::atomic<bool>& 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)) {
|
||||
|
||||
+2
-2
@@ -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<mode>(board, alpha, beta, ply, ctx);
|
||||
|
||||
const int staticEval = HCE::Evaluate(board);
|
||||
const int staticEval = NNUE::net.Evaluate(board);
|
||||
|
||||
if (!board.InCheck()) {
|
||||
if (ply) {
|
||||
|
||||
Reference in new issue
Block a user