Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/15/10 14:54:25 (14 years ago)
Author:
mkommend
Message:

Corrected SymbolicRegressionSolution to use UpperEstimationLimit instead double.NaN (ticket #939).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/SymbolicRegressionSolution.cs

    r4722 r4797  
    8484          let boundedX = Math.Min(UpperEstimationLimit, Math.Max(LowerEstimationLimit, x))
    8585          select double.IsNaN(boundedX) ? UpperEstimationLimit : boundedX;
    86       estimatedValues = Enumerable.Repeat(double.NaN, Math.Abs(minLag)).Concat(calculatedValues).ToList();
     86      estimatedValues = Enumerable.Repeat(UpperEstimationLimit, Math.Abs(minLag)).Concat(calculatedValues).ToList();
    8787      OnEstimatedValuesChanged();
    8888    }
Note: See TracChangeset for help on using the changeset viewer.