Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8515


Ignore:
Timestamp:
08/21/12 16:20:38 (12 years ago)
Author:
ascheibe
Message:

#1886 fixed cloning and resetting of the scatter plot helper

Location:
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/DataTableHelper.cs

    r8505 r8515  
    4242    private DataTableHelper(bool deserializing) : base(deserializing) { }
    4343    private DataTableHelper(DataTableHelper original, Cloner cloner)
    44       : base(original, cloner) {
    45       resultsCol = original.resultsCol;
    46       chartName = original.chartName;
    47       dataRowName = original.dataRowName;
    48       dtRow = (DataRow)original.dtRow.Clone(cloner);
    49     }
     44      : base(original, cloner) { }
    5045    public DataTableHelper() : base() { }
    5146
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/ScatterPlotHelper.cs

    r8511 r8515  
    6060    private ScatterPlotHelper(ScatterPlotHelper original, Cloner cloner)
    6161      : base(original, cloner) {
    62       resultsCol = original.resultsCol;
    63       chartName = original.chartName;
    64       xAxisTitle = original.xAxisTitle;
    65       yAxisTitle = original.yAxisTitle;
    6662      StoreHistory = original.StoreHistory;
    67       plot = (ScatterPlot)original.plot.Clone(cloner);
    6863      CreateDataTable = original.CreateDataTable;
    69       if (original.dataTableHelper != null)
    70         dataTableHelper = (DataTableHelper)original.dataTableHelper.Clone(cloner);
    71       lastRowName = original.lastRowName;
    7264    }
    7365
     
    10395
    10496        Initialize();
     97        lastRowName = null;
    10598
    10699        results.Add(new Result(chartName, Plot));
Note: See TracChangeset for help on using the changeset viewer.