Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/08/10 02:21:50 (14 years ago)
Author:
swagner
Message:

Continued work on algorithm batch processing (#947).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/ItemArray.cs

    r3017 r3286  
    5555
    5656    public virtual IDeepCloneable Clone(Cloner cloner) {
    57       ItemArray<T> clone = (ItemArray<T>)Activator.CreateInstance(this.GetType(), this.Select(x => (T)cloner.Clone(x)));
     57      ItemArray<T> clone = (ItemArray<T>)Activator.CreateInstance(this.GetType());
    5858      cloner.RegisterClonedObject(this, clone);
     59      clone.array = this.Select(x => (T)cloner.Clone(x)).ToArray();
    5960      return clone;
    6061    }
Note: See TracChangeset for help on using the changeset viewer.