Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8974


Ignore:
Timestamp:
11/29/12 11:18:04 (12 years ago)
Author:
mkommend
Message:

#1951: Adapted SymbolicDataAnalysisEvaluator.CalculateWithScaling to the review comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Evaluators/SymbolicDataAnalysisEvaluator.cs

    r8838 r8974  
    145145      double lowerEstimationLimit, double upperEstimationLimit,
    146146      IOnlineCalculator calculator, int maxRows) {
    147       if (cache == null || cache.GetLength(0) < maxRows) {
     147      if (cache == null || cache.Length < maxRows) {
    148148        cache = new double[maxRows];
    149149      }
    150150
    151151      // calculate linear scaling
    152       // the static methods of the calculator are not used because the evaluated values should be cached for performance reasons
    153152      int i = 0;
    154153      var linearScalingCalculator = new OnlineLinearScalingParameterCalculator();
Note: See TracChangeset for help on using the changeset viewer.