Changeset 17138
- Timestamp:
- 07/15/19 16:19:21 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2952_RF-ModelStorage/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest/RandomForestModelSurrogate.cs
r17050 r17138 90 90 private RandomForestModelSurrogate(RandomForestModelSurrogate original, Cloner cloner) : base(original, cloner) { 91 91 IRandomForestModel clonedModel = null; 92 if (original. ActualModel != null) clonedModel = cloner.Clone(original.ActualModel);92 if (original.actualModel.IsValueCreated) clonedModel = cloner.Clone(original.ActualModel); 93 93 actualModel = new Lazy<IRandomForestModel>(CreateLazyInitFunc(clonedModel)); // only capture clonedModel in the closure 94 94
Note: See TracChangeset
for help on using the changeset viewer.