Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1706


Ignore:
Timestamp:
04/29/09 16:07:18 (16 years ago)
Author:
abeham
Message:

fixed a bug (#609)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.SimOpt/3.2/SimOptCrossoverPreparator.cs

    r1530 r1706  
    3232        scope.AddSubScope(new Scope("Parameters_" + (i + 1).ToString()));
    3333        for (int k = 0; k < parents; k++) {
    34           IScope param = parentsScopes[k].SubScopes[i];
     34          IScope param = parentsScopes[k].SubScopes[0];
    3535          parentsScopes[k].RemoveSubScope(param);
    3636          scope.SubScopes[i].AddSubScope(param);
Note: See TracChangeset for help on using the changeset viewer.