Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/18/10 15:11:52 (14 years ago)
Author:
mkommend
Message:

Updated grammars in DataAnalysis branch (ticket #1028).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.MultiVariate/3.3/Symbolic/MultiVariateExpressionGrammar.cs

    r4068 r4252  
    4444    }
    4545
    46     protected MultiVariateExpressionGrammar(MultiVariateExpressionGrammar original)
    47       : base(original) {
    48       this.dimension = original.dimension;
    49     }
    50 
    5146    public void SetDimension(int n) {
    5247      dimension = n;
     
    6358
    6459    public override IDeepCloneable Clone(Cloner cloner) {
    65       var clone = new MultiVariateExpressionGrammar(this);
    66       cloner.RegisterClonedObject(this, clone);
     60      MultiVariateExpressionGrammar clone = (MultiVariateExpressionGrammar)base.Clone(cloner);
     61      clone.dimension = this.dimension;
    6762      return clone;
    6863    }
Note: See TracChangeset for help on using the changeset viewer.