mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 09:47:46 +00: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.
|
// Save the move score for adjudication.
|
||||||
move_hist_scores.push_back(search_value);
|
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
|
// Discard stuff before write_minply is reached
|
||||||
// because it can harm training due to overfitting.
|
// because it can harm training due to overfitting.
|
||||||
// Initial positions would be too common.
|
// Initial positions would be too common.
|
||||||
|
|||||||
Reference in New Issue
Block a user