Changeset 4597
- Timestamp:
- 10/14/10 16:53:58 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization/3.3/Problem.cs
r4596 r4597 23 23 using System.Collections.Generic; 24 24 using System.Drawing; 25 using System.Linq;26 25 using HeuristicLab.Collections; 27 26 using HeuristicLab.Common; … … 60 59 public override IDeepCloneable Clone(Cloner cloner) { 61 60 Problem<T, U> clone = (Problem<T, U>)base.Clone(cloner); 62 clone.operators = new OperatorCollection(operators.Select(x => (IOperator)cloner.Clone(x)));61 clone.operators = (OperatorCollection)cloner.Clone(operators); 63 62 clone.RegisterEventHandlers(); 64 63 return clone;
Note: See TracChangeset
for help on using the changeset viewer.