Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/26/10 03:51:30 (14 years ago)
Author:
swagner
Message:

Removed property ExecutionContext in Operator (#1333)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ParallelEngine/HeuristicLab.Operators/3.3/SubScopesMixer.cs

    r4722 r5177  
    7777    /// <param name="scope">The scope whose sub scopes should be mixed.</param>
    7878    /// <returns><c>null</c>.</returns>
    79     public override IOperation Apply() {
     79    public override IOperation Apply(IExecutionContext context) {
    8080      int partitions = Partitions.Value;
    81       IScope scope = ExecutionContext.Scope;
     81      IScope scope = context.Scope;
    8282      int count = scope.SubScopes.Count;
    8383      if ((count % partitions) != 0)
     
    9696      scope.SubScopes.AddRange(reorderedSubScopes);
    9797
    98       return base.Apply();
     98      return base.Apply(context);
    9999    }
    100100  }
Note: See TracChangeset for help on using the changeset viewer.