Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1788


Ignore:
Timestamp:
05/13/09 16:07:58 (15 years ago)
Author:
gkronber
Message:

fixed another bug in the calculation of the range of a variable. #615 (Evaluation of HL3 function trees should be equivalent to evaluation in HL2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.DataAnalysis/3.2/Statistics.cs

    r1786 r1788  
    103103      }
    104104
    105       double minimum = values[start];
    106       double maximum = minimum;
     105      double minimum = double.PositiveInfinity;
     106      double maximum = double.NegativeInfinity;
    107107      for (int i = start; i < end; i++) {
    108108        if (!double.IsNaN(values[i])) {
Note: See TracChangeset for help on using the changeset viewer.