Free cookie consent management tool by TermsFeed Policy Generator

Changeset 14083 for trunk/sources


Ignore:
Timestamp:
07/15/16 13:26:45 (8 years ago)
Author:
mkommend
Message:

#2637: Corrected cast and signature of CloneAsArray.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Data/3.3/ValueTypeArray.cs

    r14082 r14083  
    146146    }
    147147
    148     public T[,] CloneAsArray() {
     148    public T[] CloneAsArray() {
    149149      //mkommend: this works because T must be a value type (struct constraint);
    150       return (T[,])array.Clone();
     150      return (T[])array.Clone();
    151151    }
    152152
Note: See TracChangeset for help on using the changeset viewer.