Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/05/16 14:25:28 (8 years ago)
Author:
gkronber
Message:

#2650: work in progress..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionSolutionImpactValuesCalculator.cs

    r14232 r14237  
    6262
    6363      double bestReplacementValue = 0.0;
    64       double bestImpactValue = double.NegativeInfinity;
     64      double bestImpactValue = double.PositiveInfinity;
    6565      newQualityForImpactsCalculation = qualityForImpactsCalculation; // initialize
    6666      // try the potentially reasonable replacement values and use the best one
     
    8080
    8181        impactValue = qualityForImpactsCalculation - newQualityForImpactsCalculation;
    82         if (impactValue > bestImpactValue) {
     82        if (impactValue < bestImpactValue) {
    8383          bestImpactValue = impactValue;
    8484          bestReplacementValue = repValue;
Note: See TracChangeset for help on using the changeset viewer.