Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/18/08 16:00:00 (16 years ago)
Author:
swagner
Message:

Fixed ticket #67

  • adapted accessing of variables in operators due to changes of variable lookup and the new name aliasing mechanism (actual/formal name translations should not be done directly anymore; instead the new method Scope.TranslateName should be used)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Logging/BestAverageWorstQualityCalculator.cs

    r2 r77  
    4646
    4747      for (int i = 0; i < scope.SubScopes.Count; i++)
    48         qualities[i] = scope.SubScopes[i].GetVariableValue<DoubleData>(GetVariableInfo("Quality").ActualName, false).Data;
     48        qualities[i] = scope.SubScopes[i].GetVariableValue<DoubleData>("Quality", false).Data;
    4949
    5050      double worst = qualities[0];
     
    7878          AddVariable(new Variable(info.ActualName, data));
    7979        else
    80           scope.AddVariable(new Variable(info.ActualName, data));
     80          scope.AddVariable(new Variable(scope.TranslateName(info.FormalName), data));
    8181      }
    8282      data.Data = value;
Note: See TracChangeset for help on using the changeset viewer.