From 74774c36e19d43f56d533e16d778582239de8934 Mon Sep 17 00:00:00 2001 From: Tomasz Sobczyk Date: Mon, 25 Jan 2021 11:54:12 +0100 Subject: [PATCH] Fix wrong multipv depth range. Fixes #291 --- src/learn/gensfen.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/learn/gensfen.cpp b/src/learn/gensfen.cpp index f26a619c..06e6295b 100644 --- a/src/learn/gensfen.cpp +++ b/src/learn/gensfen.cpp @@ -103,7 +103,6 @@ namespace Learner void enforce_constraints() { search_depth_max = std::max(search_depth_min, search_depth_max); - random_multi_pv_depth = std::max(search_depth_min, random_multi_pv_depth); // Limit the maximum to a one-stop score. (Otherwise you might not end the loop) eval_limit = std::min(eval_limit, (int)mate_in(2));