Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1978 for trunk


Ignore:
Timestamp:
05/31/09 20:03:55 (15 years ago)
Author:
mstoeger
Message:

fixed a bug in DataRow.AddValues. Min/MaxValues were not updated. #498

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/3.2/DataRow.cs

    r1972 r1978  
    6464
    6565    public override void AddValues(double[] values) {
    66       int startInd = dataRow.Count;
     66      int startIndex = dataRow.Count;
    6767
    68       foreach (double d in values) {
    69         dataRow.Add(d);
     68      foreach (double value in values) {
     69        UpdateMinMaxValue(value);
     70        dataRow.Add(value);
    7071      }
    71       OnValuesChanged(values, startInd, Action.Added);
     72
     73      OnValuesChanged(values, startIndex, Action.Added);
    7274    }
    7375
Note: See TracChangeset for help on using the changeset viewer.