Skip to content

Commit

Permalink
Update src/Microsoft.ML.AutoML/Experiment/Experiment.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Ormont <justinormont@users.noreply.github.com>
  • Loading branch information
michaelgsharp and justinormont authored Feb 26, 2021
1 parent 97e23a2 commit 04a7943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.ML.AutoML/Experiment/Experiment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public IList<TRunDetail> Execute()
// iteration results. For some trainers, like FastTree, because training is done in parallel
// in can throw multiple OperationCancelledExceptions. This causes them to be returned as an
// AggregateException and misses the first catch block. This is to handle that case.
if (e.InnerExceptions.All( exception => exception is OperationCanceledException))
if (e.InnerExceptions.All(exception => exception is OperationCanceledException))
{
_logger.Warning(_operationCancelledMessage, e.Message);
return iterationResults;
Expand Down

0 comments on commit 04a7943

Please sign in to comment.