depth condition for node tm | bench 6813804
This commit is contained in:
1 parent
c108bfa786
commit
861a354215
1 file changed
+5
-1
+5
-1
@@ -747,9 +747,13 @@ static SearchResults ID(Board &board, SearchParams params, SearchContext* ctx) {
|
||||
ctx->seldepth = 0;
|
||||
|
||||
SearchResults currentResults = PVS<true, mode>(board, depth, aw.alpha, aw.beta, 0, ctx, false);
|
||||
nodeScaling = ScaleTime(ctx, currentResults.bestMove);
|
||||
|
||||
elapsed = ctx->sw.GetElapsedMS();
|
||||
|
||||
if (depth > 6) {
|
||||
nodeScaling = ScaleTime(ctx, currentResults.bestMove);
|
||||
}
|
||||
|
||||
if (aw.alpha != -inf && currentResults.score <= aw.alpha) {
|
||||
aw.WidenDown();
|
||||
depth--;
|
||||
|
||||
Reference in new issue
Block a user