Fix wrong multipv depth range. Fixes #291

This commit is contained in:
Tomasz Sobczyk
2021-01-25 11:54:12 +01:00
committed by nodchip
parent 1f7e5d3861
commit 74774c36e1

View File

@@ -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));