Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/10/08 14:24:30 (16 years ago)
Author:
gkronber
Message:

fixed a bug uncovered by r482

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.StructureIdentification/Evaluation/GPEvaluatorBase.cs

    r482 r483  
    8787
    8888      // initialize and reset the evaluator
    89       if(evaluator == null) evaluator = functionTree.CreateEvaluator(dataset);
    90       evaluator.ResetEvaluator(functionTree);
     89      if(evaluator == null) evaluator = functionTree.CreateEvaluator();
     90      evaluator.ResetEvaluator(functionTree, dataset);
    9191      evaluatedSamples = 0;
    9292
     
    9797      // update the value of total evaluated nodes
    9898      scope.GetVariableValue<DoubleData>("TotalEvaluatedNodes", true).Data = totalEvaluatedNodes + treeSize * evaluatedSamples;
    99       // write the calculate quality value
    10099      return null;
    101100    }
Note: See TracChangeset for help on using the changeset viewer.