Changeset 14294 for trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/OnlineCalculators/OnlineCovarianceCalculator.cs
- Timestamp:
- 09/20/16 17:14:41 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/OnlineCalculators/OnlineCovarianceCalculator.cs
r14293 r14294 39 39 } 40 40 41 // private constructor used internally by the Clone() method 42 private OnlineCovarianceCalculator(OnlineCovarianceCalculator other) : this() { 41 protected OnlineCovarianceCalculator(OnlineCovarianceCalculator other, Cloner cloner = null) { 43 42 Cn = other.Cn; 44 43 xMean = other.xMean; … … 113 112 var clone = cloner.GetClone(this); 114 113 if (clone == null) { 115 clone = (IDeepCloneable)this.Clone();114 clone = new OnlineCovarianceCalculator(this); 116 115 cloner.RegisterClonedObject(this, clone); 117 116 }
Note: See TracChangeset
for help on using the changeset viewer.