Skip to content

Commit

Permalink
merge conflicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
codemzs committed Mar 12, 2019
1 parent 225cad9 commit 713bbf6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/Microsoft.ML.Core/Environment/HostEnvironmentBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,6 @@ public void RemoveListener(Action<IMessageSource, TMessage> listenerFunc)

protected readonly ProgressReporting.ProgressTracker ProgressTracker;



public ComponentCatalog ComponentCatalog { get; }

public override int Depth => 0;
Expand Down
12 changes: 6 additions & 6 deletions src/Microsoft.ML.Core/Utilities/Contracts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -737,12 +737,12 @@ public static void CheckIO(this IExceptionContext ctx, bool f, string msg)
if (!f)
throw ExceptIO(ctx, msg);
}
}
public static void CheckIO(this IExceptionContext ctx, bool f, string msg, params object[] args)
{
if (!f)
throw ExceptIO(ctx, msg, args);
}

public static void CheckIO(this IExceptionContext ctx, bool f, string msg, params object[] args)
{
if (!f)
throw ExceptIO(ctx, msg, args);
}
#if !CPUMATH_INFRASTRUCTURE
/// <summary>
/// Check state of the host and throw exception if host marked to stop all exection.
Expand Down

0 comments on commit 713bbf6

Please sign in to comment.