Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/15/10 15:23:31 (14 years ago)
Author:
mkommend
Message:

fixed major bug in cloning of DataAnalysisSolutions (ticket #938)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/DataAnalysisSolution.cs

    r3919 r3921  
    5252    [StorableHook(HookType.AfterDeserialization)]
    5353    private void Initialize() {
    54       if (problemData != null) RegisterProblemDataEvents();
     54      if (problemData != null)
     55        RegisterProblemDataEvents();
    5556    }
    5657
     
    145146    public event EventHandler EstimatedValuesChanged;
    146147    protected virtual void OnEstimatedValuesChanged() {
    147       RecalculateResultValues();
    148148      var listeners = EstimatedValuesChanged;
    149149      if (listeners != null)
     
    156156      // don't clone the problem data!
    157157      clone.problemData = problemData;
    158       clone.Model = (IDataAnalysisModel)cloner.Clone(model);
     158      clone.model = (IDataAnalysisModel)cloner.Clone(model);
    159159      clone.lowerEstimationLimit = lowerEstimationLimit;
    160160      clone.upperEstimationLimit = upperEstimationLimit;
    161161      clone.Initialize();
     162
    162163      return clone;
    163164    }
Note: See TracChangeset for help on using the changeset viewer.