mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 19:16:49 +08:00
Fix wrong multipv depth range. Fixes #291
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user