Changeset 17251 for branches/2521_ProblemRefactoring/HeuristicLab.Data/3.3
- Timestamp:
- 09/13/19 11:37:59 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Data/3.3/ValueTypeMatrix.cs
r17248 r17251 190 190 191 191 public virtual ValueTypeMatrix<T> AsReadOnly() { 192 ValueTypeMatrix<T> readOnlyValueTypeMatrix = (ValueTypeMatrix<T>)this.Clone(); 192 if (readOnly) return this; 193 var readOnlyValueTypeMatrix = (ValueTypeMatrix<T>)this.Clone(); 193 194 readOnlyValueTypeMatrix.readOnly = true; 194 195 return readOnlyValueTypeMatrix;
Note: See TracChangeset
for help on using the changeset viewer.