Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/04/12 17:21:22 (13 years ago)
Author:
abeham
Message:

#1695: fixed bug in parameter collection

Location:
trunk/sources/HeuristicLab.Optimization/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization/3.3/Algorithms/Algorithm.cs

    r7579 r7706  
    240240    }
    241241
    242     protected override IEnumerable<KeyValuePair<string, IItem>> GetCollectedValues(IItem value) {
    243       var children = base.GetCollectedValues(value);
     242    protected override IEnumerable<KeyValuePair<string, IItem>> GetCollectedValues(IValueParameter param) {
     243      var children = base.GetCollectedValues(param);
    244244      foreach (var child in children) {
    245245        if (child.Value is IOperator)
  • trunk/sources/HeuristicLab.Optimization/3.3/Problems/Problem.cs

    r7579 r7706  
    9898    #endregion
    9999
    100     protected override IEnumerable<KeyValuePair<string, IItem>> GetCollectedValues(IItem value) {
    101       var children = base.GetCollectedValues(value);
     100    protected override IEnumerable<KeyValuePair<string, IItem>> GetCollectedValues(IValueParameter param) {
     101      var children = base.GetCollectedValues(param);
    102102      foreach (var child in children) {
    103103        if (child.Value is IOperator)
Note: See TracChangeset for help on using the changeset viewer.