From a6126b1e8b83d2d5b80f27113abd4d5250192b28 Mon Sep 17 00:00:00 2001 From: rektdie Date: Tue, 18 Mar 2025 14:24:04 +0100 Subject: [PATCH] small adjustment | bench 1154407 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index 7e5cec7..3803656 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -152,9 +152,9 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) { } } + pvLine.SetLength(ply); if (ply && IsThreefold(board)) return 0; - pvLine.SetLength(ply); // if NOT PV node then we try to hit the TTable if (beta - alpha == 1) {