Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/28/19 12:41:36 (5 years ago)
Author:
gkronber
Message:

#2971: made branch compile with current version of trunk

Location:
branches/2971_named_intervals
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2971_named_intervals

    • Property svn:ignore set to
      packages
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Interval.cs

    r16593 r16628  
    2626using HeuristicLab.Core;
    2727using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Attic;
    2829
    2930namespace HeuristicLab.Problems.DataAnalysis {
     31  [StorableType("56EAFEEC-8A7B-45EB-87F5-1C78D62B8801")]
    3032  public class Interval : IEquatable<Interval> {
    3133    public double LowerBound { get; private set; }
     
    234236
    235237    public static Interval Square(Interval a) {
    236       var values = new List<double> {Math.Pow(a.LowerBound, 2), Math.Pow(a.UpperBound, 2)};
     238      var values = new List<double> { Math.Pow(a.LowerBound, 2), Math.Pow(a.UpperBound, 2) };
    237239
    238240      return new Interval(values.Min(), values.Max());
     
    240242
    241243    public static Interval Cubic(Interval a) {
    242       var values = new List<double> {Math.Pow(a.LowerBound, 3), Math.Pow(a.UpperBound, 3)};
     244      var values = new List<double> { Math.Pow(a.LowerBound, 3), Math.Pow(a.UpperBound, 3) };
    243245
    244246      return new Interval(values.Min(), values.Max());
Note: See TracChangeset for help on using the changeset viewer.