Changeset 18074 for branches


Ignore:
Timestamp:
10/29/21 11:34:19 (7 months ago)
Author:
chaider
Message:

#3136

-Fixed cloning of StructureTemplate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/StructureTemplate/StructureTemplate.cs

    r18072 r18074  
    6666    protected StructureTemplate(StorableConstructorFlag _) : base(_) { }
    6767
    68     protected StructureTemplate(StructureTemplate original, Cloner cloner) : base(original, cloner) { }
     68    protected StructureTemplate(StructureTemplate original, Cloner cloner) : base(original, cloner) {
     69      this.Tree = cloner.Clone(original.Tree);
     70      this.Template = original.Template;
     71      this.ApplyLinearScaling = original.ApplyLinearScaling;
     72      this.SubFunctions = original.SubFunctions;
     73    }
    6974    #endregion
    7075
Note: See TracChangeset for help on using the changeset viewer.