Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/13/15 19:51:32 (10 years ago)
Author:
gkronber
Message:

#2352: merged r12137, r12151:12152 from trunk to stable

Location:
stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Analysis.Statistics.Views/3.3/CorrelationView.cs

    r12009 r12199  
    5656      stringConvertibleMatrixView.Minimum = -1.0;
    5757      stringConvertibleMatrixView.Maximum = 1.0;
     58      stringConvertibleMatrixView.FormatPattern = "0.000";
    5859
    5960      methodComboBox.Items.Add(PearsonName);
     
    212213                .Where(x => !double.IsNaN(x) && !double.IsNegativeInfinity(x) && !double.IsPositiveInfinity(x));
    213214
    214           if (!rowValues.Any() || !columnValues.Any() || i == j || rowValues.Count() != columnValues.Count()) {
     215          if (!rowValues.Any() || !columnValues.Any() || rowValues.Count() != columnValues.Count()) {
    215216            dt[i, j] = double.NaN;
     217          } else if (i == j) {
     218            dt[i, j] = 1.0;
    216219          } else {
    217220            if (methodName == PearsonName) {
Note: See TracChangeset for help on using the changeset viewer.