Skip to content

Commit

Permalink
πŸ” Stop clearing quiet history (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
eduherminio committed Feb 3, 2024
1 parent 9815f17 commit 36308f2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Lynx/Search/IDDFS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,7 @@ private int CheckPonderHit(ref SearchResult? lastSearchResult, int depth)
Array.Clear(_killerMoves[2]);
Debug.Assert(_killerMoves.Length == 3);

for (int i = 0; i < _quietHistory.Length; i++)
{
Array.Clear(_quietHistory[i]);
}
// Not clearing _quietHistory on purpose

// Not clearing _captureHistory on purpose
}
Expand Down

0 comments on commit 36308f2

Please sign in to comment.