Skip to content

Commit

Permalink
reset for benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
znxftw committed Dec 18, 2024
1 parent 237d435 commit 2cd149e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Rudim/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public class Benchmark
[ArgumentsSource(nameof(GenerateBenchmarks))]
public void BenchmarkBestMove(BoardState boardState, int depth, CancellationToken cancellationToken)
{
Global.Reset();
bool debugMode = false;
boardState.FindBestMove(depth, cancellationToken, ref debugMode);
}
Expand Down

0 comments on commit 2cd149e

Please sign in to comment.