okay, actually disable it | bench 1181803
This commit is contained in:
1 parent
0f849c1b7f
commit
00f0d06381
1 file changed
+4
-4
+4
-4
@@ -274,12 +274,12 @@ static SearchResults Quiescence(Board& board, int alpha, int beta, int ply, Sear
|
|||||||
if (ShouldStop<mode>(ctx)) return 0;
|
if (ShouldStop<mode>(ctx)) return 0;
|
||||||
|
|
||||||
if (ply + 1 >= MAX_DEPTH)
|
if (ply + 1 >= MAX_DEPTH)
|
||||||
return NNUE::net.Evaluate(board);
|
return NNUE::net.Evaluate(board, mode == datagen);
|
||||||
|
|
||||||
if (ply > ctx->seldepth)
|
if (ply > ctx->seldepth)
|
||||||
ctx->seldepth = ply;
|
ctx->seldepth = ply;
|
||||||
|
|
||||||
int bestScore = AdjustEval(board, ctx, NNUE::net.Evaluate(board));
|
int bestScore = AdjustEval(board, ctx, NNUE::net.Evaluate(board, mode == datagen));
|
||||||
ctx->ss[ply].eval = bestScore;
|
ctx->ss[ply].eval = bestScore;
|
||||||
|
|
||||||
TTEntry entry;
|
TTEntry entry;
|
||||||
@@ -390,7 +390,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
|||||||
if (ShouldStop<mode>(ctx)) return 0;
|
if (ShouldStop<mode>(ctx)) return 0;
|
||||||
|
|
||||||
if (ply + 1 >= MAX_DEPTH)
|
if (ply + 1 >= MAX_DEPTH)
|
||||||
return NNUE::net.Evaluate(board);
|
return NNUE::net.Evaluate(board, mode == datagen);
|
||||||
|
|
||||||
if (ply > ctx->seldepth)
|
if (ply > ctx->seldepth)
|
||||||
ctx->seldepth = ply;
|
ctx->seldepth = ply;
|
||||||
@@ -421,7 +421,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
|||||||
|
|
||||||
if (depth <= 0) return Quiescence<isPV, mode>(board, alpha, beta, ply, ctx);
|
if (depth <= 0) return Quiescence<isPV, mode>(board, alpha, beta, ply, ctx);
|
||||||
|
|
||||||
int rawEval = NNUE::net.Evaluate(board);
|
int rawEval = NNUE::net.Evaluate(board, mode == datagen);
|
||||||
const int staticEval = AdjustEval(board, ctx, rawEval);
|
const int staticEval = AdjustEval(board, ctx, rawEval);
|
||||||
ctx->ss[ply].eval = staticEval;
|
ctx->ss[ply].eval = staticEval;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user