Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5125


Ignore:
Timestamp:
12/17/10 12:27:15 (14 years ago)
Author:
mkommend
Message:

Corrected cloning and deserialization of CrossValidation (ticket #1342).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.3/CrossValidation.cs

    r4735 r5125  
    5858
    5959      RegisterEvents();
     60      if (Algorithm != null) RegisterAlgorithmEvents();
    6061    }
    6162
     
    7071    private void AfterDeserialization() {
    7172      RegisterEvents();
     73      if (Algorithm != null) RegisterAlgorithmEvents();
    7274    }
    7375
     
    8789      samplesEnd = cloner.Clone(original.samplesEnd);
    8890      RegisterEvents();
     91      if (Algorithm != null) RegisterAlgorithmEvents();
    8992    }
    9093    public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset for help on using the changeset viewer.