Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/25/08 12:13:34 (17 years ago)
Author:
gkronber
Message:

fixed #131

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.StructureIdentification/Recombination/SizeFairCrossOver.cs

    r161 r189  
    223223      if(possibleParents.Count == 0) throw new InvalidProgramException();
    224224      // and select a random one
    225       IFunctionTree parent = new FunctionTree(possibleParents.ElementAt(random.Next(possibleParents.Count())));
     225      IFunctionTree parent = possibleParents.ElementAt(random.Next(possibleParents.Count())).GetTreeNode();
    226226
    227227      int minArity;
Note: See TracChangeset for help on using the changeset viewer.