Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/16/19 16:12:21 (5 years ago)
Author:
abeham
Message:

#2521: worked on refactoring PTSP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Data/3.3/DoubleArray.cs

    r17226 r17253  
    2121
    2222using System.Text;
     23using HEAL.Attic;
    2324using HeuristicLab.Common;
    2425using HeuristicLab.Core;
    25 using HEAL.Attic;
    2626
    2727namespace HeuristicLab.Data {
     
    3636    public DoubleArray() : base() { }
    3737    public DoubleArray(int length) : base(length) { }
    38     public DoubleArray(double[] elements) : base(elements) { }
     38    public DoubleArray(double[] elements, bool @readonly = false) : base(elements, @readonly) { }
    3939
    4040    public override IDeepCloneable Clone(Cloner cloner) {
     
    6767      }
    6868    }
     69
     70    public new DoubleArray AsReadOnly() {
     71      return (DoubleArray)base.AsReadOnly();
     72    }
    6973  }
    7074}
Note: See TracChangeset for help on using the changeset viewer.