mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-25 19:46:55 +08:00
Remove the re-search on depth 0. It is correctly handled by search now.
This commit is contained in:
@@ -875,13 +875,6 @@ namespace Learner
|
||||
// Save the move score for adjudication.
|
||||
move_hist_scores.push_back(search_value);
|
||||
|
||||
// If depth 0, pv is not obtained, so search again at depth 2.
|
||||
if (search_depth_min <= 0)
|
||||
{
|
||||
auto [research_value, research_pv] = search(pos, 2);
|
||||
search_pv = research_pv;
|
||||
}
|
||||
|
||||
// Discard stuff before write_minply is reached
|
||||
// because it can harm training due to overfitting.
|
||||
// Initial positions would be too common.
|
||||
|
||||
Reference in New Issue
Block a user