Free cookie consent management tool by TermsFeed Policy Generator

Changeset 11729


Ignore:
Timestamp:
12/29/14 16:11:52 (10 years ago)
Author:
ascheibe
Message:

#2267 fixed cloning bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/VOSGA/HeuristicLab.Algorithms.VOffspringSelectionGeneticAlgorithm/WeightedParentsDiversityComparator.cs

    r11516 r11729  
    6868    [StorableConstructor]
    6969    protected WeightedParentsDiversityComparator(bool deserializing) : base(deserializing) { }
    70     protected WeightedParentsDiversityComparator(WeightedParentsDiversityComparator original, Cloner cloner) : base(original, cloner) { }
     70    protected WeightedParentsDiversityComparator(WeightedParentsDiversityComparator original, Cloner cloner)
     71      : base(original, cloner) {
     72      SimilarityCalculator = cloner.Clone(original.SimilarityCalculator);
     73    }
    7174    public WeightedParentsDiversityComparator()
    7275      : base() {
Note: See TracChangeset for help on using the changeset viewer.