Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/10 01:44:33 (14 years ago)
Author:
swagner
Message:

Revoked changes of r5177 (#1333)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ParallelEngine/HeuristicLab.Selection/3.3/GenderSpecificSelector.cs

    r5177 r5178  
    140140    /// <exception cref="InvalidOperationException">Thrown when <see cref="NumberOfSelectedSubScopesParameter"/> returns an odd number.</exception>
    141141    /// <returns>Returns Apply of <see cref="AlgorithmOperator"/>.</returns>
    142     public override IOperation Apply(IExecutionContext context) {
     142    public override IOperation Apply() {
    143143      int count = NumberOfSelectedSubScopesParameter.ActualValue.Value;
    144144      if (count % 2 > 0) throw new InvalidOperationException(Name + ": There must be an equal number of sub-scopes to be selected.");
    145145      FemaleSelector.NumberOfSelectedSubScopesParameter.Value = new IntValue(count / 2);
    146146      MaleSelector.NumberOfSelectedSubScopesParameter.Value = new IntValue(count / 2);
    147       return base.Apply(context);
     147      return base.Apply();
    148148    }
    149149
Note: See TracChangeset for help on using the changeset viewer.