Skip to content

Commit

Permalink
Remove unnecessary trainer enumerates
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthysell committed Apr 4, 2017
1 parent 44e6901 commit c901f04
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Mzinga.Trainer/Trainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,6 @@ private void Lifecycle(string path, int generations, int battles)
DateTime lifecycleStart = DateTime.Now;
Log("Lifecycle start.");

Enumerate();

TimeSpan timeRemaining;
double progress;

Expand Down Expand Up @@ -583,8 +581,6 @@ private void Lifecycle(string path, int generations, int battles)
// Mate
Mate(path);

Enumerate();

if (generations != 1)
{
Log("Lifecycle generation {0} end.", gen);
Expand Down

0 comments on commit c901f04

Please sign in to comment.