Nnue test #48
+2
-2
@@ -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) {
|
||||||
|
|||||||
Reference in new issue
Block a user